Interface UpdateSecretRequestOrBuilder (2.52.0)

public interface UpdateSecretRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSecret()

public abstract Secret getSecret()

Required. Secret with updated field values.

.google.cloud.secretmanager.v1beta2.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Secret

The secret.

getSecretOrBuilder()

public abstract SecretOrBuilder getSecretOrBuilder()

Required. Secret with updated field values.

.google.cloud.secretmanager.v1beta2.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecretOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. Specifies the fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Specifies the fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasSecret()

public abstract boolean hasSecret()

Required. Secret with updated field values.

.google.cloud.secretmanager.v1beta2.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the secret field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. Specifies the fields to be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.