public sealed class ModifyCloudToDeviceConfigRequest : IMessage<ModifyCloudToDeviceConfigRequest>, IEquatable<ModifyCloudToDeviceConfigRequest>, IDeepCloneable<ModifyCloudToDeviceConfigRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud IoT v1 API class ModifyCloudToDeviceConfigRequest.
Request for ModifyCloudToDeviceConfig
.
Implements
IMessageModifyCloudToDeviceConfigRequest, IEquatableModifyCloudToDeviceConfigRequest, IDeepCloneableModifyCloudToDeviceConfigRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Iot.V1Assembly
Google.Cloud.Iot.V1.dll
Constructors
ModifyCloudToDeviceConfigRequest()
public ModifyCloudToDeviceConfigRequest()
ModifyCloudToDeviceConfigRequest(ModifyCloudToDeviceConfigRequest)
public ModifyCloudToDeviceConfigRequest(ModifyCloudToDeviceConfigRequest other)
Parameter | |
---|---|
Name | Description |
other | ModifyCloudToDeviceConfigRequest |
Properties
BinaryData
public ByteString BinaryData { get; set; }
Required. The configuration data for the device.
Property Value | |
---|---|
Type | Description |
ByteString |
DeviceName
public DeviceName DeviceName { get; set; }
DeviceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
DeviceName |
Name
public string Name { get; set; }
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}
.
Property Value | |
---|---|
Type | Description |
string |
VersionToUpdate
public long VersionToUpdate { get; set; }
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.
Property Value | |
---|---|
Type | Description |
long |