Cloud IoT V1 API - Class Google::Cloud::Iot::V1::BindDeviceToGatewayRequest (v0.4.0)

Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::BindDeviceToGatewayRequest.

Request for BindDeviceToGateway.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#device_id

def device_id() -> ::String
Returns
  • (::String) — Required. The device to associate with the specified gateway. The value of device_id can be either the device numeric ID or the user-defined device identifier.

#device_id=

def device_id=(value) -> ::String
Parameter
  • value (::String) — Required. The device to associate with the specified gateway. The value of device_id can be either the device numeric ID or the user-defined device identifier.
Returns
  • (::String) — Required. The device to associate with the specified gateway. The value of device_id can be either the device numeric ID or the user-defined device identifier.

#gateway_id

def gateway_id() -> ::String
Returns
  • (::String) — Required. The value of gateway_id can be either the device numeric ID or the user-defined device identifier.

#gateway_id=

def gateway_id=(value) -> ::String
Parameter
  • value (::String) — Required. The value of gateway_id can be either the device numeric ID or the user-defined device identifier.
Returns
  • (::String) — Required. The value of gateway_id can be either the device numeric ID or the user-defined device identifier.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The name of the registry. For example, projects/example-project/locations/us-central1/registries/my-registry.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the registry. For example, projects/example-project/locations/us-central1/registries/my-registry.
Returns
  • (::String) — Required. The name of the registry. For example, projects/example-project/locations/us-central1/registries/my-registry.