Class: Google::Cloud::Iot::V1::GetDeviceRequest

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Google::Protobuf::FieldMask)

    The fields of the Device resource to be returned in the response. If the field mask is unset or empty, all fields are returned.



138
139
140
141
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 138

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}.

Returns:

  • (::String)

    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}.



138
139
140
141
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 138

class GetDeviceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end