Interface UpdateKeyRequestOrBuilder (0.49.0)

public interface UpdateKeyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract Key getKey()

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.

.google.api.apikeys.v2.Key key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Key

The key.

getKeyOrBuilder()

public abstract KeyOrBuilder getKeyOrBuilder()

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.

.google.api.apikeys.v2.Key key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KeyOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

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.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

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.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasKey()

public abstract boolean hasKey()

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.

.google.api.apikeys.v2.Key key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the key field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

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.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.