Class ModifyCloudToDeviceConfigRequest (1.2.0)

public sealed class ModifyCloudToDeviceConfigRequest : IMessage<ModifyCloudToDeviceConfigRequest>, IEquatable<ModifyCloudToDeviceConfigRequest>, IDeepCloneable<ModifyCloudToDeviceConfigRequest>, IBufferMessage, IMessage

Request for ModifyCloudToDeviceConfig.

Inheritance

Object > ModifyCloudToDeviceConfigRequest

Namespace

Google.Cloud.Iot.V1

Assembly

Google.Cloud.Iot.V1.dll

Constructors

ModifyCloudToDeviceConfigRequest()

public ModifyCloudToDeviceConfigRequest()

ModifyCloudToDeviceConfigRequest(ModifyCloudToDeviceConfigRequest)

public ModifyCloudToDeviceConfigRequest(ModifyCloudToDeviceConfigRequest other)
Parameter
NameDescription
otherModifyCloudToDeviceConfigRequest

Properties

BinaryData

public ByteString BinaryData { get; set; }

Required. The configuration data for the device.

Property Value
TypeDescription
ByteString

DeviceName

public DeviceName DeviceName { get; set; }

DeviceName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
Int64