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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["The latest version of the `UpdateDeviceRequest` class is 2.2.0, part of the Cloud IoT v1 API, designed for updating device information."],["This class, `UpdateDeviceRequest`, serves as a request structure for the `UpdateDevice` operation within the Cloud IoT v1 API."],["The `UpdateDeviceRequest` class inherits from `object` and implements interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has two constructors: a default one and one that takes another `UpdateDeviceRequest` object as a parameter, allowing for easy cloning."],["`UpdateDeviceRequest` has two primary properties, `Device` (of type `Device`) which details the device updates and `UpdateMask` (of type `FieldMask`) which dictates which fields should be modified, also noting that the Device `id`, and `num_id` fields must be empty, and `name` must be specified."]]],[]]