Class: Google::Cloud::Iot::V1::UpdateDeviceRequest

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

Instance Attribute Summary collapse

Instance Attribute Details

#device::Google::Cloud::Iot::V1::Device

Returns Required. The new values for the device. The id and num_id fields must be empty, and the field name must specify the name path. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.

Returns:

  • (::Google::Cloud::Iot::V1::Device)

    Required. The new values for the device. The id and num_id fields must be empty, and the field name must specify the name path. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.



157
158
159
160
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 157

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

#update_mask::Google::Protobuf::FieldMask

Returns Required. Only updates the device fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. Mutable top-level fields: credentials, blocked, and metadata.

Returns:

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

    Required. Only updates the device fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. Mutable top-level fields: credentials, blocked, and metadata



157
158
159
160
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 157

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