Class: Google::Cloud::Iot::V1::CreateDeviceRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Iot::V1::CreateDeviceRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/iot/v1/device_manager.rb
Overview
Request for CreateDevice
.
Instance Attribute Summary collapse
-
#device ⇒ ::Google::Cloud::Iot::V1::Device
Required.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#device ⇒ ::Google::Cloud::Iot::V1::Device
Returns Required. The device registration details. The field name
must be empty. The server
generates name
from the device registry id
and the
parent
field.
123 124 125 126 |
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 123 class CreateDeviceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The name of the device registry where this device should be created.
For example,
projects/example-project/locations/us-central1/registries/my-registry
.
123 124 125 126 |
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 123 class CreateDeviceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |