public sealed class ModifyCloudToDeviceConfigRequest : IMessage<ModifyCloudToDeviceConfigRequest>, IEquatable<ModifyCloudToDeviceConfigRequest>, IDeepCloneable<ModifyCloudToDeviceConfigRequest>, IBufferMessage, IMessage
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
System.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eModifyCloudToDeviceConfigRequest\u003c/code\u003e is 2.2.0, but this page specifically documents version 2.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eModifyCloudToDeviceConfigRequest\u003c/code\u003e is a request class used within the Google Cloud IoT service for modifying device configurations.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eSystem.Object\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for various operations and comparisons.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eBinaryData\u003c/code\u003e, \u003ccode\u003eDeviceName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eVersionToUpdate\u003c/code\u003e, enabling the setting of configuration data, device identification, and version control for updates.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided in this class which are a parameterless constructor as well as a constructor which takes another \u003ccode\u003eModifyCloudToDeviceConfigRequest\u003c/code\u003e as input.\u003c/p\u003e\n"]]],[],null,[]]