class DeploymentsDevices extends Resource (View source)

The "devices" collection of methods.

Typical usage is:

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

Methods

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

Deletes a device. (devices.delete)

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

Gets details about a device. (devices.get)

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

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

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