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 page covers the `UpdateKeyRequest` class within the Google Cloud API Keys v2 API, specifically version 1.3.0."],["`UpdateKeyRequest` is a request message used to update an API key's details, such as `display_name`, `restrictions`, and `annotations`."],["The `UpdateKeyRequest` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `object` class."],["It has two constructors: a default constructor and one that takes another `UpdateKeyRequest` object as a parameter."],["The class contains two key properties, Key, that must be set to the API key name to be updated, and `UpdateMask` to specify what fields are to be updated."]]],[]]