Class UpdateKeyRequest (0.5.13)

UpdateKeyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for UpdateKey method.

Attributes

Name Description
key 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.