Enum SqlSuspensionReason (0.1.0)

public enum SqlSuspensionReason extends Enum<SqlSuspensionReason> implements ProtocolMessageEnum

The suspension reason of the database instance if the state is SUSPENDED.

Protobuf enum google.cloud.sql.v1beta4.SqlSuspensionReason

Implements

ProtocolMessageEnum

Static Fields

Name Description
BILLING_ISSUE

The instance is suspended due to billing issues (for example:, account issue)

BILLING_ISSUE = 2;

BILLING_ISSUE_VALUE

The instance is suspended due to billing issues (for example:, account issue)

BILLING_ISSUE = 2;

KMS_KEY_ISSUE

The KMS key used by the instance is either revoked or denied access to

KMS_KEY_ISSUE = 5;

KMS_KEY_ISSUE_VALUE

The KMS key used by the instance is either revoked or denied access to

KMS_KEY_ISSUE = 5;

The instance is suspended due to illegal content (for example:, child pornography, copyrighted material, etc.).

LEGAL_ISSUE = 3;

The instance is suspended due to illegal content (for example:, child pornography, copyrighted material, etc.).

LEGAL_ISSUE = 3;

OPERATIONAL_ISSUE

The instance is causing operational issues (for example:, causing the database to crash).

OPERATIONAL_ISSUE = 4;

OPERATIONAL_ISSUE_VALUE

The instance is causing operational issues (for example:, causing the database to crash).

OPERATIONAL_ISSUE = 4;

PROJECT_ABUSE

The project is suspended due to abuse detected by Ares.

PROJECT_ABUSE = 8;

PROJECT_ABUSE_VALUE

The project is suspended due to abuse detected by Ares.

PROJECT_ABUSE = 8;

SQL_SUSPENSION_REASON_UNSPECIFIED

This is an unknown suspension reason.

SQL_SUSPENSION_REASON_UNSPECIFIED = 0;

SQL_SUSPENSION_REASON_UNSPECIFIED_VALUE

This is an unknown suspension reason.

SQL_SUSPENSION_REASON_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()