Reference documentation and code samples for the Google Cloud IoT Core V1 Client class ModifyCloudToDeviceConfigRequest.
Request for ModifyCloudToDeviceConfig
.
Generated from protobuf message google.cloud.iot.v1.ModifyCloudToDeviceConfigRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
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}
.
↳ version_to_update
int|string
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.
↳ binary_data
string
Required. The configuration data for the device.
getName
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}
.
string
setName
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}
.
var
string
$this
getVersionToUpdate
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.
int|string
setVersionToUpdate
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.
var
int|string
$this
getBinaryData
Required. The configuration data for the device.
string
setBinaryData
Required. The configuration data for the device.
var
string
$this