Enum Secret.SecretType (2.95.0)

public enum Secret.SecretType extends Enum<Secret.SecretType> implements ProtocolMessageEnum

This defines the various values of the type of secret can be.

Protobuf enum google.cloud.secretmanager.v1.Secret.SecretType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACCESS_KEY

Applicable to secrets where the payload contains an access key.

ACCESS_KEY = 2;

ACCESS_KEY_VALUE

Applicable to secrets where the payload contains an access key.

ACCESS_KEY = 2;

CERTIFICATE

Applicable to secrets where the payload contains a certificate.

CERTIFICATE = 3;

CERTIFICATE_VALUE

Applicable to secrets where the payload contains a certificate.

CERTIFICATE = 3;

CLOUD_SQL_DB_CREDENTIALS

Applicable to secrets which are used for the managed rotation feature for Cloud SQL Single User.

CLOUD_SQL_DB_CREDENTIALS = 1;

CLOUD_SQL_DB_CREDENTIALS_VALUE

Applicable to secrets which are used for the managed rotation feature for Cloud SQL Single User.

CLOUD_SQL_DB_CREDENTIALS = 1;

OTHER

Applicable to secrets whose type doesn't belong to any of the above defined types.

OTHER = 50;

OTHER_DB_CREDENTIALS

Applicable to secrets where the payload contains database credentials.

OTHER_DB_CREDENTIALS = 4;

OTHER_DB_CREDENTIALS_VALUE

Applicable to secrets where the payload contains database credentials.

OTHER_DB_CREDENTIALS = 4;

OTHER_VALUE

Applicable to secrets whose type doesn't belong to any of the above defined types.

OTHER = 50;

SECRET_TYPE_UNSPECIFIED

Applicable to all secrets which do not have any restriction on the SecretVersions.

SECRET_TYPE_UNSPECIFIED = 0;

SECRET_TYPE_UNSPECIFIED_VALUE

Applicable to all secrets which do not have any restriction on the SecretVersions.

SECRET_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()