public enum Secret.SecretType extends Enum<Secret.SecretType> implements ProtocolMessageEnumThis defines the various values of the type of secret can be.
Protobuf enum google.cloud.secretmanager.v1.Secret.SecretType
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
ACCESS_KEY |
Applicable to secrets where the payload contains an access key. |
ACCESS_KEY_VALUE |
Applicable to secrets where the payload contains an access key. |
CERTIFICATE |
Applicable to secrets where the payload contains a certificate. |
CERTIFICATE_VALUE |
Applicable to secrets where the payload contains a certificate. |
CLOUD_SQL_DB_CREDENTIALS |
Applicable to secrets which are used for the managed rotation feature for Cloud SQL Single User. |
CLOUD_SQL_DB_CREDENTIALS_VALUE |
Applicable to secrets which are used for the managed rotation feature for Cloud SQL Single User. |
OTHER |
Applicable to secrets whose type doesn't belong to any of the above defined types. |
OTHER_DB_CREDENTIALS |
Applicable to secrets where the payload contains database credentials. |
OTHER_DB_CREDENTIALS_VALUE |
Applicable to secrets where the payload contains database credentials. |
OTHER_VALUE |
Applicable to secrets whose type doesn't belong to any of the above defined types. |
SECRET_TYPE_UNSPECIFIED |
Applicable to all secrets which do not have any restriction on the SecretVersions. |
SECRET_TYPE_UNSPECIFIED_VALUE |
Applicable to all secrets which do not have any restriction on the SecretVersions. |
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() |
|