class NodesDeploymentsDevices extends Resource (View source)

The "devices" collection of methods.

Typical usage is:

 $sasportalService = new Google\Service\Sasportal(...);
 $devices = $sasportalService->nodes_deployments_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)

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

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

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 listNodesDeploymentsDevices(string $parent, array $optParams = [])

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

Parameters

string $parent

Required. The name of the parent resource.

array $optParams

Optional parameters.

Return Value

SasPortalListDevicesResponse

Exceptions

Exception