public sealed class UpdateAttributeRequest : IMessage<UpdateAttributeRequest>, IEquatable<UpdateAttributeRequest>, IDeepCloneable<UpdateAttributeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class UpdateAttributeRequest.
The [UpdateAttribute][google.cloud.apihub.v1.ApiHub.UpdateAttribute] method's
request.
[[["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\u003eThis documentation is for the \u003ccode\u003eUpdateAttributeRequest\u003c/code\u003e class within the Google Cloud API Hub v1 API, specifically version 1.0.0 (latest) and 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateAttributeRequest\u003c/code\u003e class is used to send requests to the \u003ccode\u003eUpdateAttribute\u003c/code\u003e method in the Google Cloud API Hub v1 API.\u003c/p\u003e\n"],["\u003cp\u003eIt 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 \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateAttributeRequest\u003c/code\u003e class includes properties for \u003ccode\u003eAttribute\u003c/code\u003e (the attribute to update) and \u003ccode\u003eUpdateMask\u003c/code\u003e (the fields to update), which are crucial for updating attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateAttributeRequest\u003c/code\u003e has two constructors: a default constructor and one that takes another \u003ccode\u003eUpdateAttributeRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,["# API hub v1 API - Class UpdateAttributeRequest (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.UpdateAttributeRequest)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.ApiHub.V1/1.0.0-beta02/Google.Cloud.ApiHub.V1.UpdateAttributeRequest) \n\n public sealed class UpdateAttributeRequest : IMessage\u003cUpdateAttributeRequest\u003e, IEquatable\u003cUpdateAttributeRequest\u003e, IDeepCloneable\u003cUpdateAttributeRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the API hub v1 API class UpdateAttributeRequest.\n\nThe \\[UpdateAttribute\\]\\[google.cloud.apihub.v1.ApiHub.UpdateAttribute\\] method's\nrequest. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateAttributeRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateAttributeRequest](/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.UpdateAttributeRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateAttributeRequest](/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.UpdateAttributeRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateAttributeRequest](/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.UpdateAttributeRequest), [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.ApiHub.V1](/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ApiHub.V1.dll\n\nConstructors\n------------\n\n### UpdateAttributeRequest()\n\n public UpdateAttributeRequest()\n\n### UpdateAttributeRequest(UpdateAttributeRequest)\n\n public UpdateAttributeRequest(UpdateAttributeRequest other)\n\nProperties\n----------\n\n### Attribute\n\n public Attribute Attribute { get; set; }\n\nRequired. The attribute to update.\n\nThe attribute's `name` field is used to identify the attribute to update.\nFormat:\n`projects/{project}/locations/{location}/attributes/{attribute}`\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nRequired. The list of fields to update."]]