Class: Google::Cloud::ApiKeys::V2::UpdateKeyRequest
- Inherits:
-
Object
- Object
- Google::Cloud::ApiKeys::V2::UpdateKeyRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/apikeys/v2/apikeys.rb
Overview
Request message for UpdateKey
method.
Instance Attribute Summary collapse
-
#key ⇒ ::Google::Cloud::ApiKeys::V2::Key
Required.
-
#update_mask ⇒ ::Google::Protobuf::FieldMask
The field mask specifies which fields to be updated as part of this request.
Instance Attribute Details
#key ⇒ ::Google::Cloud::ApiKeys::V2::Key
Returns 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.
122 123 124 125 |
# File 'proto_docs/google/api/apikeys/v2/apikeys.rb', line 122 class UpdateKeyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_mask ⇒ ::Google::Protobuf::FieldMask
Returns 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.
122 123 124 125 |
# File 'proto_docs/google/api/apikeys/v2/apikeys.rb', line 122 class UpdateKeyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |