Class: Google::Cloud::Iot::V1::SendCommandToDeviceRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Iot::V1::SendCommandToDeviceRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/iot/v1/device_manager.rb
Overview
Request for SendCommandToDevice
.
Instance Attribute Summary collapse
-
#binary_data ⇒ ::String
Required.
-
#name ⇒ ::String
Required.
-
#subfolder ⇒ ::String
Optional subfolder for the command.
Instance Attribute Details
#binary_data ⇒ ::String
Returns Required. The command data to send to the device.
336 337 338 339 |
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 336 class SendCommandToDeviceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Required. The name of the device. For example,
projects/p0/locations/us-central1/registries/registry0/devices/device0
or
projects/p0/locations/us-central1/registries/registry0/devices/{num_id}
.
336 337 338 339 |
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 336 class SendCommandToDeviceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#subfolder ⇒ ::String
Returns Optional subfolder for the command. If empty, the command will be delivered to the /devices/{device-id}/commands topic, otherwise it will be delivered to the /devices/{device-id}/commands/{subfolder} topic. Multi-level subfolders are allowed. This field must not have more than 256 characters, and must not contain any MQTT wildcards ("+" or "#") or null characters.
336 337 338 339 |
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 336 class SendCommandToDeviceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |