google.cloud.api_keys_v2.types.Key
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.
update_mask
google.protobuf.field_mask_pb2.FieldMask
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-09-09 UTC."],[],[],null,["# Class UpdateKeyRequest (0.5.17)\n\nVersion latestkeyboard_arrow_down\n\n- [0.5.17 (latest)](/python/docs/reference/apikeys/latest/google.cloud.api_keys_v2.types.UpdateKeyRequest)\n- [0.5.16](/python/docs/reference/apikeys/0.5.16/google.cloud.api_keys_v2.types.UpdateKeyRequest)\n- [0.4.1](/python/docs/reference/apikeys/0.4.1/google.cloud.api_keys_v2.types.UpdateKeyRequest)\n- [0.3.0](/python/docs/reference/apikeys/0.3.0/google.cloud.api_keys_v2.types.UpdateKeyRequest)\n- [0.2.2](/python/docs/reference/apikeys/0.2.2/google.cloud.api_keys_v2.types.UpdateKeyRequest)\n- [0.1.0](/python/docs/reference/apikeys/0.1.0/google.cloud.api_keys_v2.types.UpdateKeyRequest) \n\n UpdateKeyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nRequest message for `UpdateKey` method."]]