public sealed class UpdateDeviceRequest : IMessage<UpdateDeviceRequest>, IEquatable<UpdateDeviceRequest>, IDeepCloneable<UpdateDeviceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud IoT v1 API class UpdateDeviceRequest.
Required. The new values for the device. The id and num_id fields must
be empty, and the field name must specify the name path. For example,
projects/p0/locations/us-central1/registries/registry0/devices/device0or
projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.
Required. Only updates the device fields indicated by this mask.
The field mask must not be empty, and it must not contain fields that
are immutable or only set by the server.
Mutable top-level fields: credentials, blocked, and metadata
[[["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 of the \u003ccode\u003eUpdateDeviceRequest\u003c/code\u003e is 2.2.0, with several earlier versions available, including 2.1.0, 2.0.0, 1.2.0, 1.1.0, and 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateDeviceRequest\u003c/code\u003e is a class used for updating device configurations within the Cloud IoT v1 API, implementing several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDevice\u003c/code\u003e property of \u003ccode\u003eUpdateDeviceRequest\u003c/code\u003e allows you to specify new values for the device, with the \u003ccode\u003eid\u003c/code\u003e and \u003ccode\u003enum_id\u003c/code\u003e fields to remain empty.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateMask\u003c/code\u003e property is required, and is used to indicate which \u003ccode\u003edevice\u003c/code\u003e fields should be updated, with immutable or server-set fields being excluded.\u003c/p\u003e\n"]]],[],null,[]]