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"]],[["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 covers the \u003ccode\u003eUpdateKeyRequest\u003c/code\u003e class within the Google Cloud API Keys v2 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateKeyRequest\u003c/code\u003e class is used to send requests to update API keys, and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating an \u003ccode\u003eUpdateKeyRequest\u003c/code\u003e object: a default constructor and one that takes another \u003ccode\u003eUpdateKeyRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateKeyRequest\u003c/code\u003e class has two key properties: \u003ccode\u003eKey\u003c/code\u003e which represents the API key to be updated and \u003ccode\u003eUpdateMask\u003c/code\u003e which specifies which fields can be updated within the request.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation spans multiple versions of this class, ranging from version 1.0.0 to 1.4.0 (latest).\u003c/p\u003e\n"]]],[],null,[]]