Class: Google::Cloud::Iot::V1::GetDeviceRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Iot::V1::GetDeviceRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/iot/v1/device_manager.rb
Overview
Request for GetDevice
.
Instance Attribute Summary collapse
-
#field_mask ⇒ ::Google::Protobuf::FieldMask
The fields of the
Device
resource to be returned in the response. -
#name ⇒ ::String
Required.
Instance Attribute Details
#field_mask ⇒ ::Google::Protobuf::FieldMask
Returns The fields of the Device
resource to be returned in the response. If the
field mask is unset or empty, all fields are returned. Fields have to be
provided in snake_case format, for example: last_heartbeat_time
.
139 140 141 142 |
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 139 class GetDeviceRequest 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}
.
139 140 141 142 |
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 139 class GetDeviceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |