public enum Operation.SqlOperationType extends Enum<Operation.SqlOperationType> implements ProtocolMessageEnumThe type of Cloud SQL operation.
Protobuf enum google.cloud.sql.v1.Operation.SqlOperationType
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
ACQUIRE_SSRS_LEASE |
Acquire a lease for the setup of SQL Server Reporting Services (SSRS). |
ACQUIRE_SSRS_LEASE_VALUE |
Acquire a lease for the setup of SQL Server Reporting Services (SSRS). |
ADVANCED_BACKUP |
Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. |
ADVANCED_BACKUP_VALUE |
Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. |
AUTO_RESTART |
Performs auto-restart of an HA-enabled Cloud SQL database for auto recovery. |
AUTO_RESTART_VALUE |
Performs auto-restart of an HA-enabled Cloud SQL database for auto recovery. |
BACKUP |
|
BACKUP_VALUE |
|
BACKUP_VOLUME |
Performs instance backup. |
BACKUP_VOLUME_VALUE |
Performs instance backup. |
CLONE |
Clones a Cloud SQL instance. |
CLONE_VALUE |
Clones a Cloud SQL instance. |
CLUSTER_MAINTENANCE |
Indicates that the instance, its read replicas, and its cascading replicas are in maintenance. Maintenance typically gets initiated on groups of replicas first, followed by the primary instance. For each instance, maintenance typically causes the instance to be unavailable for 1-3 minutes. |
CLUSTER_MAINTENANCE_VALUE |
Indicates that the instance, its read replicas, and its cascading replicas are in maintenance. Maintenance typically gets initiated on groups of replicas first, followed by the primary instance. For each instance, maintenance typically causes the instance to be unavailable for 1-3 minutes. |
CREATE |
Creates a new Cloud SQL instance. |
CREATE_CLONE |
Creates clone instance. |
CREATE_CLONE_VALUE |
Creates clone instance. |
CREATE_DATABASE |
Creates a database in the Cloud SQL instance. |
CREATE_DATABASE_VALUE |
Creates a database in the Cloud SQL instance. |
CREATE_READ_POOL |
Creates a Cloud SQL read pool instance. |
CREATE_READ_POOL_VALUE |
Creates a Cloud SQL read pool instance. |
CREATE_REPLICA |
Creates a Cloud SQL replica instance. |
CREATE_REPLICA_VALUE |
Creates a Cloud SQL replica instance. |
CREATE_USER |
Creates a new user in a Cloud SQL instance. |
CREATE_USER_VALUE |
Creates a new user in a Cloud SQL instance. |
CREATE_VALUE |
Creates a new Cloud SQL instance. |
DEFER_MAINTENANCE |
|
DEFER_MAINTENANCE_VALUE |
|
DELETE |
Deletes a Cloud SQL instance. |
DELETE_BACKUP |
Deletes the backup taken by a backup run. |
DELETE_BACKUP_VALUE |
Deletes the backup taken by a backup run. |
DELETE_DATABASE |
Deletes a database in the Cloud SQL instance. |
DELETE_DATABASE_VALUE |
Deletes a database in the Cloud SQL instance. |
DELETE_USER |
Deletes a user from a Cloud SQL instance. |
DELETE_USER_VALUE |
Deletes a user from a Cloud SQL instance. |
DELETE_VALUE |
Deletes a Cloud SQL instance. |
DELETE_VOLUME |
Deletes an instance backup. |
DELETE_VOLUME_VALUE |
Deletes an instance backup. |
DEMOTE_MASTER |
Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server. |
DEMOTE_MASTER_VALUE |
Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server. |
ENABLE_PRIVATE_IP |
This field is deprecated, and will be removed in future version of API. |
ENABLE_PRIVATE_IP_VALUE |
This field is deprecated, and will be removed in future version of API. |
ENHANCED_BACKUP |
Creates a backup for an Enhanced BackupTier Cloud SQL instance. |
ENHANCED_BACKUP_VALUE |
Creates a backup for an Enhanced BackupTier Cloud SQL instance. |
EXPORT |
Exports data from a Cloud SQL instance to a Cloud Storage bucket. |
EXPORT_VALUE |
Exports data from a Cloud SQL instance to a Cloud Storage bucket. |
FAILOVER |
Performs failover of an HA-enabled Cloud SQL failover replica. |
FAILOVER_VALUE |
Performs failover of an HA-enabled Cloud SQL failover replica. |
IMPORT |
Imports data into a Cloud SQL instance. |
IMPORT_VALUE |
Imports data into a Cloud SQL instance. |
INJECT_USER |
Injects a privileged user in mysql for MOB instances. |
INJECT_USER_VALUE |
Injects a privileged user in mysql for MOB instances. |
LOG_CLEANUP |
Recovers logs from an instance's old data disk. |
LOG_CLEANUP_VALUE |
Recovers logs from an instance's old data disk. |
MAINTENANCE |
Indicates that the instance is currently in maintenance. Maintenance typically causes the instance to be unavailable for 1-3 minutes. |
MAINTENANCE_VALUE |
Indicates that the instance is currently in maintenance. Maintenance typically causes the instance to be unavailable for 1-3 minutes. |
MAJOR_VERSION_UPGRADE |
Updates the major version of a Cloud SQL instance. |
MAJOR_VERSION_UPGRADE_VALUE |
Updates the major version of a Cloud SQL instance. |
MANAGE_BACKUP |
Changes the BackupTier of a Cloud SQL instance. |
MANAGE_BACKUP_VALUE |
Changes the BackupTier of a Cloud SQL instance. |
PRE_CHECK_MAJOR_VERSION_UPGRADE |
Pre-checks the major version upgrade operation. |
PRE_CHECK_MAJOR_VERSION_UPGRADE_VALUE |
Pre-checks the major version upgrade operation. |
PROMOTE_REPLICA |
Promotes a Cloud SQL replica instance. |
PROMOTE_REPLICA_VALUE |
Promotes a Cloud SQL replica instance. |
RECONFIGURE_OLD_PRIMARY |
Reconfigures old primary after a promote replica operation. Effect of a promote operation to the old primary is executed in this operation, asynchronously from the promote replica operation executed to the replica. |
RECONFIGURE_OLD_PRIMARY_VALUE |
Reconfigures old primary after a promote replica operation. Effect of a promote operation to the old primary is executed in this operation, asynchronously from the promote replica operation executed to the replica. |
RECREATE_REPLICA |
|
RECREATE_REPLICA_VALUE |
|
REENCRYPT |
Re-encrypts CMEK instances with latest key version. |
REENCRYPT_VALUE |
Re-encrypts CMEK instances with latest key version. |
RELEASE_SSRS_LEASE |
Release a lease for the setup of SQL Server Reporting Services (SSRS). |
RELEASE_SSRS_LEASE_VALUE |
Release a lease for the setup of SQL Server Reporting Services (SSRS). |
REPAIR_READ_POOL |
Repairs entire read pool or specified read pool nodes in the read pool. |
REPAIR_READ_POOL_VALUE |
Repairs entire read pool or specified read pool nodes in the read pool. |
RESCHEDULE_MAINTENANCE |
Reschedule maintenance to another time. |
RESCHEDULE_MAINTENANCE_VALUE |
Reschedule maintenance to another time. |
RESTART |
Restarts the Cloud SQL instance. |
RESTART_VALUE |
Restarts the Cloud SQL instance. |
RESTORE_VOLUME |
Restores an instance backup. |
RESTORE_VOLUME_VALUE |
Restores an instance backup. |
SELF_SERVICE_MAINTENANCE |
Indicates that the instance (and any of its replicas) are currently in maintenance. This is initiated as a self-service request by using SSM. Maintenance typically causes the instance to be unavailable for 1-3 minutes. |
SELF_SERVICE_MAINTENANCE_VALUE |
Indicates that the instance (and any of its replicas) are currently in maintenance. This is initiated as a self-service request by using SSM. Maintenance typically causes the instance to be unavailable for 1-3 minutes. |
SETUP_MIGRATION |
This operation type represents individual steps in a multi-step setup migration workflow: including configuration, replication, switchover/back, and data reseeding, as defined by operation's intent. |
SETUP_MIGRATION_VALUE |
This operation type represents individual steps in a multi-step setup migration workflow: including configuration, replication, switchover/back, and data reseeding, as defined by operation's intent. |
SNAPSHOT |
|
SNAPSHOT_VALUE |
|
SQL_OPERATION_TYPE_UNSPECIFIED |
Unknown operation type. |
SQL_OPERATION_TYPE_UNSPECIFIED_VALUE |
Unknown operation type. |
START_EXTERNAL_SYNC |
Starts external sync of a Cloud SQL EM replica to an external primary instance. |
START_EXTERNAL_SYNC_VALUE |
Starts external sync of a Cloud SQL EM replica to an external primary instance. |
START_REPLICA |
Starts replication on a Cloud SQL read replica instance. |
START_REPLICA_VALUE |
Starts replication on a Cloud SQL read replica instance. |
STOP_REPLICA |
Stops replication on a Cloud SQL read replica instance. |
STOP_REPLICA_VALUE |
Stops replication on a Cloud SQL read replica instance. |
SWITCHOVER |
Switches the roles of the primary and replica pair. The target instance should be the replica. |
SWITCHOVER_TO_REPLICA |
Switches a primary instance to a replica. This operation runs as part of a switchover operation to the original primary instance. |
SWITCHOVER_TO_REPLICA_VALUE |
Switches a primary instance to a replica. This operation runs as part of a switchover operation to the original primary instance. |
SWITCHOVER_VALUE |
Switches the roles of the primary and replica pair. The target instance should be the replica. |
TRUNCATE_LOG |
Truncates a general or slow log table in MySQL. |
TRUNCATE_LOG_VALUE |
Truncates a general or slow log table in MySQL. |
UNRECOGNIZED |
|
UPDATE |
Updates the settings of a Cloud SQL instance. |
UPDATE_BACKUP |
Update a backup. |
UPDATE_BACKUP_VALUE |
Update a backup. |
UPDATE_DATABASE |
Updates a database in the Cloud SQL instance. |
UPDATE_DATABASE_VALUE |
Updates a database in the Cloud SQL instance. |
UPDATE_USER |
Updates an existing user in a Cloud SQL instance. If a user with the specified username doesn't exist, a new user is created. |
UPDATE_USER_VALUE |
Updates an existing user in a Cloud SQL instance. If a user with the specified username doesn't exist, a new user is created. |
UPDATE_VALUE |
Updates the settings of a Cloud SQL instance. |
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() |
|