Cloud SQL Admin V1 API - Module Google::Cloud::Sql::V1::Operation::SqlOperationType (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API module Google::Cloud::Sql::V1::Operation::SqlOperationType.

The type of Cloud SQL operation.

Constants

SQL_OPERATION_TYPE_UNSPECIFIED

value: 0
Unknown operation type.

IMPORT

value: 1
Imports data into a Cloud SQL instance.

EXPORT

value: 2
Exports data from a Cloud SQL instance to a Cloud Storage bucket.

CREATE

value: 3
Creates a new Cloud SQL instance.

UPDATE

value: 4
Updates the settings of a Cloud SQL instance.

DELETE

value: 5
Deletes a Cloud SQL instance.

RESTART

value: 6
Restarts the Cloud SQL instance.

BACKUP

value: 7

SNAPSHOT

value: 8

BACKUP_VOLUME

value: 9
Performs instance backup.

DELETE_VOLUME

value: 10
Deletes an instance backup.

RESTORE_VOLUME

value: 11
Restores an instance backup.

INJECT_USER

value: 12
Injects a privileged user in mysql for MOB instances.

CLONE

value: 14
Clones a Cloud SQL instance.

STOP_REPLICA

value: 15
Stops replication on a Cloud SQL read replica instance.

START_REPLICA

value: 16
Starts replication on a Cloud SQL read replica instance.

PROMOTE_REPLICA

value: 17
Promotes a Cloud SQL replica instance.

CREATE_REPLICA

value: 18
Creates a Cloud SQL replica instance.

CREATE_USER

value: 19
Creates a new user in a Cloud SQL instance.

DELETE_USER

value: 20
Deletes a user from a Cloud SQL instance.

UPDATE_USER

value: 21
Updates an existing user in a Cloud SQL instance. If a user with the specified username doesn't exist, a new user is created.

CREATE_DATABASE

value: 22
Creates a database in the Cloud SQL instance.

DELETE_DATABASE

value: 23
Deletes a database in the Cloud SQL instance.

UPDATE_DATABASE

value: 24
Updates a database in the Cloud SQL instance.

FAILOVER

value: 25
Performs failover of an HA-enabled Cloud SQL failover replica.

DELETE_BACKUP

value: 26
Deletes the backup taken by a backup run.

RECREATE_REPLICA

value: 27

TRUNCATE_LOG

value: 28
Truncates a general or slow log table in MySQL.

DEMOTE_MASTER

value: 29
Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.

MAINTENANCE

value: 30
Indicates that the instance is currently in maintenance. Maintenance typically causes the instance to be unavailable for 1-3 minutes.

ENABLE_PRIVATE_IP

value: 31
This field is deprecated, and will be removed in future version of API.

DEFER_MAINTENANCE

value: 32

CREATE_CLONE

value: 33
Creates clone instance.

RESCHEDULE_MAINTENANCE

value: 34
Reschedule maintenance to another time.

START_EXTERNAL_SYNC

value: 35
Starts external sync of a Cloud SQL EM replica to an external primary instance.

LOG_CLEANUP

value: 36
Recovers logs from an instance's old data disk.

AUTO_RESTART

value: 37
Performs auto-restart of an HA-enabled Cloud SQL database for auto recovery.

REENCRYPT

value: 38
Re-encrypts CMEK instances with latest key version.

SWITCHOVER

value: 39
Switches the roles of the primary and replica pair. The target instance should be the replica.

UPDATE_BACKUP

value: 40
Update a backup.

ACQUIRE_SSRS_LEASE

value: 42
Acquire a lease for the setup of SQL Server Reporting Services (SSRS).

RELEASE_SSRS_LEASE

value: 43
Release a lease for the setup of SQL Server Reporting Services (SSRS).

RECONFIGURE_OLD_PRIMARY

value: 44
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.

CLUSTER_MAINTENANCE

value: 45
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.

SELF_SERVICE_MAINTENANCE

value: 46
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.

SWITCHOVER_TO_REPLICA

value: 47
Switches a primary instance to a replica. This operation runs as part of a switchover operation to the original primary instance.

MAJOR_VERSION_UPGRADE

value: 48
Updates the major version of a Cloud SQL instance.

ADVANCED_BACKUP

value: 49
Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead.

MANAGE_BACKUP

value: 50
Changes the BackupTier of a Cloud SQL instance.

ENHANCED_BACKUP

value: 51
Creates a backup for an Enhanced BackupTier Cloud SQL instance.

REPAIR_READ_POOL

value: 52
Repairs entire read pool or specified read pool nodes in the read pool.

CREATE_READ_POOL

value: 53
Creates a Cloud SQL read pool instance.

PRE_CHECK_MAJOR_VERSION_UPGRADE

value: 54
Pre-checks the major version upgrade operation.