class NodesDevices extends Resource (View source)

The "devices" collection of methods.

Typical usage is:

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

delete(string $name, array $optParams = [])

Deletes a device. (devices.delete)

get(string $name, array $optParams = [])

Gets details about a device. (devices.get)

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

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

move(string $name, SasPortalMoveDeviceRequest $postBody, array $optParams = [])

Moves a device under another node or customer. (devices.move)

patch(string $name, SasPortalDevice $postBody, array $optParams = [])

Updates a device. (devices.patch)

signDevice(string $name, SasPortalSignDeviceRequest $postBody, array $optParams = [])

Signs a device. (devices.signDevice)

updateSigned(string $name, SasPortalUpdateSignedDeviceRequest $postBody, array $optParams = [])

Updates a signed device. (devices.updateSigned)

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

SasPortalEmpty delete(string $name, array $optParams = [])

Deletes a device. (devices.delete)

Parameters

string $name

Required. The name of the device.

array $optParams

Optional parameters.

Return Value

SasPortalEmpty

Exceptions

Exception

SasPortalDevice get(string $name, array $optParams = [])

Gets details about a device. (devices.get)

Parameters

string $name

Required. The name of the device.

array $optParams

Optional parameters.

Return Value

SasPortalDevice

Exceptions

Exception

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

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

Parameters

string $parent

Required. The name of the parent resource.

array $optParams

Optional parameters.

Return Value

SasPortalListDevicesResponse

Exceptions

Exception

SasPortalOperation move(string $name, SasPortalMoveDeviceRequest $postBody, array $optParams = [])

Moves a device under another node or customer. (devices.move)

Parameters

string $name

Required. The name of the device to move.

SasPortalMoveDeviceRequest $postBody
array $optParams

Optional parameters.

Return Value

SasPortalOperation

Exceptions

Exception

SasPortalDevice patch(string $name, SasPortalDevice $postBody, array $optParams = [])

Updates a device. (devices.patch)

Parameters

string $name

Output only. The resource path name.

SasPortalDevice $postBody
array $optParams

Optional parameters.

Return Value

SasPortalDevice

Exceptions

Exception

SasPortalEmpty signDevice(string $name, SasPortalSignDeviceRequest $postBody, array $optParams = [])

Signs a device. (devices.signDevice)

Parameters

string $name

Output only. The resource path name.

SasPortalSignDeviceRequest $postBody
array $optParams

Optional parameters.

Return Value

SasPortalEmpty

Exceptions

Exception

SasPortalDevice updateSigned(string $name, SasPortalUpdateSignedDeviceRequest $postBody, array $optParams = [])

Updates a signed device. (devices.updateSigned)

Parameters

string $name

Required. The name of the device to update.

SasPortalUpdateSignedDeviceRequest $postBody
array $optParams

Optional parameters.

Return Value

SasPortalDevice

Exceptions

Exception