public sealed class UpdateDeviceRegistryRequest : IMessage<UpdateDeviceRegistryRequest>, IEquatable<UpdateDeviceRegistryRequest>, IDeepCloneable<UpdateDeviceRegistryRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud IoT v1 API class UpdateDeviceRegistryRequest.
public DeviceRegistry DeviceRegistry { get; set; }
Required. The new values for the device registry. The id field must be empty, and
the name field must indicate the path of the resource. For example,
projects/example-project/locations/us-central1/registries/my-registry.
Required. Only updates the device_registry 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: event_notification_config, http_config,
mqtt_config, and state_notification_config.
[[["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-09-04 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eUpdateDeviceRegistryRequest\u003c/code\u003e class within the Google Cloud IoT v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateDeviceRegistryRequest\u003c/code\u003e class is used to request an update to a device registry and has multiple versions available, with 2.2.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateDeviceRegistryRequest\u003c/code\u003e has properties \u003ccode\u003eDeviceRegistry\u003c/code\u003e to handle the new device registry values and \u003ccode\u003eUpdateMask\u003c/code\u003e to specify the fields that need to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, one that takes no parameter, and another that takes another \u003ccode\u003eUpdateDeviceRegistryRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Cloud IoT v1 API - Class UpdateDeviceRegistryRequest (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.UpdateDeviceRegistryRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.1.0/Google.Cloud.Iot.V1.UpdateDeviceRegistryRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.0.0/Google.Cloud.Iot.V1.UpdateDeviceRegistryRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.2.0/Google.Cloud.Iot.V1.UpdateDeviceRegistryRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.1.0/Google.Cloud.Iot.V1.UpdateDeviceRegistryRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.0.0/Google.Cloud.Iot.V1.UpdateDeviceRegistryRequest) \n\n public sealed class UpdateDeviceRegistryRequest : IMessage\u003cUpdateDeviceRegistryRequest\u003e, IEquatable\u003cUpdateDeviceRegistryRequest\u003e, IDeepCloneable\u003cUpdateDeviceRegistryRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud IoT v1 API class UpdateDeviceRegistryRequest.\n\nRequest for `UpdateDeviceRegistry`. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateDeviceRegistryRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateDeviceRegistryRequest](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.UpdateDeviceRegistryRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateDeviceRegistryRequest](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.UpdateDeviceRegistryRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateDeviceRegistryRequest](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.UpdateDeviceRegistryRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Iot.V1](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Iot.V1.dll\n\nConstructors\n------------\n\n### UpdateDeviceRegistryRequest()\n\n public UpdateDeviceRegistryRequest()\n\n### UpdateDeviceRegistryRequest(UpdateDeviceRegistryRequest)\n\n public UpdateDeviceRegistryRequest(UpdateDeviceRegistryRequest other)\n\nProperties\n----------\n\n### DeviceRegistry\n\n public DeviceRegistry DeviceRegistry { get; set; }\n\nRequired. The new values for the device registry. The `id` field must be empty, and\nthe `name` field must indicate the path of the resource. For example,\n`projects/example-project/locations/us-central1/registries/my-registry`.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nRequired. Only updates the `device_registry` fields indicated by this mask.\nThe field mask must not be empty, and it must not contain fields that\nare immutable or only set by the server.\nMutable top-level fields: `event_notification_config`, `http_config`,\n`mqtt_config`, and `state_notification_config`."]]