Class: Google::Apis::CloudiotV1::UnbindDeviceFromGatewayRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudiotV1::UnbindDeviceFromGatewayRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudiot_v1/classes.rb,
generated/google/apis/cloudiot_v1/representations.rb,
generated/google/apis/cloudiot_v1/representations.rb
Overview
Request for UnbindDeviceFromGateway
.
Instance Attribute Summary collapse
-
#device_id ⇒ String
Required.
-
#gateway_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UnbindDeviceFromGatewayRequest
constructor
A new instance of UnbindDeviceFromGatewayRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UnbindDeviceFromGatewayRequest
Returns a new instance of UnbindDeviceFromGatewayRequest.
1177 1178 1179 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1177 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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.
Corresponds to the JSON property deviceId
1169 1170 1171 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1169 def device_id @device_id end |
#gateway_id ⇒ String
Required. The value of gateway_id
can be either the device numeric ID or the
user-defined device identifier.
Corresponds to the JSON property gatewayId
1175 1176 1177 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1175 def gateway_id @gateway_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1182 1183 1184 1185 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1182 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @gateway_id = args[:gateway_id] if args.key?(:gateway_id) end |