class NodesNodesDevices extends Resource (View source)

The "devices" collection of methods.

Typical usage is:

 $sasportalService = new Google\Service\Sasportal(...);
 $devices = $sasportalService->nodes_nodes_devices;

Methods

create(string $parent, SasPortalDevice $postBody, array $optParams = [])

Creates a device under a node or customer. (devices.create)

createSigned(string $parent, SasPortalCreateSignedDeviceRequest $postBody, array $optParams = [])

Creates a signed device under a node or customer. (devices.createSigned)

listNodesNodesDevices(string $parent, array $optParams = [])

Lists devices under a node or customer. (devices.listNodesNodesDevices)

Details

SasPortalDevice create(string $parent, SasPortalDevice $postBody, array $optParams = [])

Creates a device under a node or customer. (devices.create)

Parameters

string $parent

Required. The name of the parent resource.

SasPortalDevice $postBody
array $optParams

Optional parameters.

Return Value

SasPortalDevice

Exceptions

Exception

SasPortalDevice createSigned(string $parent, SasPortalCreateSignedDeviceRequest $postBody, array $optParams = [])

Creates a signed device under a node or customer. (devices.createSigned)

Parameters

string $parent

Required. The name of the parent resource.

SasPortalCreateSignedDeviceRequest $postBody
array $optParams

Optional parameters.

Return Value

SasPortalDevice

Exceptions

Exception

SasPortalListDevicesResponse listNodesNodesDevices(string $parent, array $optParams = [])

Lists devices under a node or customer. (devices.listNodesNodesDevices)

Parameters

string $parent

Required. The name of the parent resource.

array $optParams

Optional parameters.

Return Value

SasPortalListDevicesResponse

Exceptions

Exception