Google Cloud IoT Core V1 Client - Class UnbindDeviceFromGatewayRequest (1.6.4)

Reference documentation and code samples for the Google Cloud IoT Core V1 Client class UnbindDeviceFromGatewayRequest.

Request for UnbindDeviceFromGateway.

Generated from protobuf message google.cloud.iot.v1.UnbindDeviceFromGatewayRequest

Namespace

Google \ Cloud \ Iot \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the registry. For example, projects/example-project/locations/us-central1/registries/my-registry.

↳ gateway_id string

Required. The value of gateway_id can be either the device numeric ID or the user-defined device identifier.

↳ device_id string

Required. The device to disassociate from the specified gateway. The value of device_id can be either the device numeric ID or the user-defined device identifier.

getParent

Required. The name of the registry. For example, projects/example-project/locations/us-central1/registries/my-registry.

Returns
TypeDescription
string

setParent

Required. The name of the registry. For example, projects/example-project/locations/us-central1/registries/my-registry.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGatewayId

Required. The value of gateway_id can be either the device numeric ID or the user-defined device identifier.

Returns
TypeDescription
string

setGatewayId

Required. The value of gateway_id can be either the device numeric ID or the user-defined device identifier.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeviceId

Required. The device to disassociate from the specified gateway. The value of device_id can be either the device numeric ID or the user-defined device identifier.

Returns
TypeDescription
string

setDeviceId

Required. The device to disassociate from the specified gateway. The value of device_id can be either the device numeric ID or the user-defined device identifier.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The name of the registry. For example, projects/example-project/locations/us-central1/registries/my-registry. Please see Google\Cloud\Iot\V1\DeviceManagerClient::registryName() for help formatting this field.

gatewayId string

Required. The value of gateway_id can be either the device numeric ID or the user-defined device identifier.

deviceId string

Required. The device to disassociate from the specified gateway. The value of device_id can be either the device numeric ID or the user-defined device identifier.

Returns
TypeDescription
Google\Cloud\Iot\V1\UnbindDeviceFromGatewayRequest