public sealed class UpdateKeyRequest : IMessage<UpdateKeyRequest>, IEquatable<UpdateKeyRequest>, IDeepCloneable<UpdateKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API Keys v2 API class UpdateKeyRequest.
Required. Set the name field to the resource name of the API key to be
updated. You can update only the display_name, restrictions, and
annotations fields.
The field mask specifies which fields to be updated as part of this
request. All other fields are ignored.
Mutable fields are: display_name, restrictions, and annotations.
If an update mask is not provided, the service treats it as an implied mask
equivalent to all allowed fields that are set on the wire. If the field
mask has a special value "*", the service treats it equivalent to replace
all allowed mutable fields.
[[["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-03-21 UTC."],[[["The `UpdateKeyRequest` class is used to update an API key's `display_name`, `restrictions`, and `annotations`."],["It is part of the Google.Cloud.ApiKeys.V2 namespace and is included in the Google.Cloud.ApiKeys.V2.dll assembly."],["This class implements several interfaces, including `IMessage`, `IEquatable\u003cUpdateKeyRequest\u003e`, `IDeepCloneable\u003cUpdateKeyRequest\u003e`, and `IBufferMessage`."],["The latest version of this API is 1.4.0 and earlier versions are available going back to 1.0.0."],["The class has two constructors, `UpdateKeyRequest()` for a default constructor and `UpdateKeyRequest(UpdateKeyRequest other)` for copying another `UpdateKeyRequest` object."]]],[]]