API Keys v2 API - Class UpdateKeyRequest (1.4.0)

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.

Request message for UpdateKey method.

Inheritance

object > UpdateKeyRequest

Namespace

Google.Cloud.ApiKeys.V2

Assembly

Google.Cloud.ApiKeys.V2.dll

Constructors

UpdateKeyRequest()

public UpdateKeyRequest()

UpdateKeyRequest(UpdateKeyRequest)

public UpdateKeyRequest(UpdateKeyRequest other)
Parameter
Name Description
other UpdateKeyRequest

Properties

Key

public Key Key { get; set; }

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.

Property Value
Type Description
Key

UpdateMask

public FieldMask UpdateMask { get; set; }

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.

Property Value
Type Description
FieldMask