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."],[[["This documentation covers the `UpdateKeyRequest` class within the Google Cloud API Keys v2 API, specifically for .NET development."],["The `UpdateKeyRequest` class is used to send requests to update API keys, and it inherits from `object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["There are two constructors available for creating an `UpdateKeyRequest` object: a default constructor and one that takes another `UpdateKeyRequest` object as a parameter."],["The `UpdateKeyRequest` class has two key properties: `Key` which represents the API key to be updated and `UpdateMask` which specifies which fields can be updated within the request."],["The documentation spans multiple versions of this class, ranging from version 1.0.0 to 1.4.0 (latest)."]]],[]]