Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::ModifyCloudToDeviceConfigRequest.
Request for ModifyCloudToDeviceConfig
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#binary_data
def binary_data() -> ::String
Returns
- (::String) — Required. The configuration data for the device.
#binary_data=
def binary_data=(value) -> ::String
Parameter
- value (::String) — Required. The configuration data for the device.
Returns
- (::String) — Required. The configuration data for the device.
#name
def name() -> ::String
Returns
-
(::String) — Required. The name of the device. For example,
projects/p0/locations/us-central1/registries/registry0/devices/device0
orprojects/p0/locations/us-central1/registries/registry0/devices/{num_id}
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the device. For example,
projects/p0/locations/us-central1/registries/registry0/devices/device0
orprojects/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
orprojects/p0/locations/us-central1/registries/registry0/devices/{num_id}
.
#version_to_update
def version_to_update() -> ::Integer
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.
#version_to_update=
def version_to_update=(value) -> ::Integer
Parameter
- value (::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.
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.