Class: Google::Cloud::Iot::V1::ModifyCloudToDeviceConfigRequest

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

Instance Attribute Summary collapse

Instance Attribute Details

#binary_data::String

Returns Required. The configuration data for the device.

Returns:

  • (::String)

    Required. The configuration data for the device.



263
264
265
266
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 263

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



263
264
265
266
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 263

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

#version_to_update::Integer

Returns The version number to update. If this value is zero, it will not check the version number of the server and will always update the current version; otherwise, this update will fail if the version number found on the server does not match this version number. This is used to support multiple simultaneous updates without losing data.

Returns:

  • (::Integer)

    The version number to update. If this value is zero, it will not check the version number of the server and will always update the current version; otherwise, this update will fail if the version number found on the server does not match this version number. This is used to support multiple simultaneous updates without losing data.



263
264
265
266
# File 'proto_docs/google/cloud/iot/v1/device_manager.rb', line 263

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