operationType property

String? operationType
getter/setter pair

The type of the operation.

Valid values are: CREATE DELETE UPDATE RESTART IMPORT EXPORT BACKUP_VOLUME RESTORE_VOLUME CREATE_USER DELETE_USER CREATE_DATABASE DELETE_DATABASE Possible string values are:

  • "SQL_OPERATION_TYPE_UNSPECIFIED" : Unknown operation type.
  • "IMPORT" : Imports data into a Cloud SQL instance.
  • "EXPORT" : Exports data from a Cloud SQL instance to a Cloud Storage bucket.
  • "CREATE" : Creates a new Cloud SQL instance.
  • "UPDATE" : Updates the settings of a Cloud SQL instance.
  • "DELETE" : Deletes a Cloud SQL instance.
  • "RESTART" : Restarts the Cloud SQL instance.
  • "BACKUP"
  • "SNAPSHOT"
  • "BACKUP_VOLUME" : Performs instance backup.
  • "DELETE_VOLUME" : Deletes an instance backup.
  • "RESTORE_VOLUME" : Restores an instance backup.
  • "INJECT_USER" : Injects a privileged user in mysql for MOB instances.
  • "CLONE" : Clones a Cloud SQL instance.
  • "STOP_REPLICA" : Stops replication on a Cloud SQL read replica instance.
  • "START_REPLICA" : Starts replication on a Cloud SQL read replica instance.
  • "PROMOTE_REPLICA" : Promotes a Cloud SQL replica instance.
  • "CREATE_REPLICA" : Creates a Cloud SQL replica instance.
  • "CREATE_USER" : Creates a new user in a Cloud SQL instance.
  • "DELETE_USER" : Deletes a user from a Cloud SQL instance.
  • "UPDATE_USER" : Updates an existing user in a Cloud SQL instance.
  • "CREATE_DATABASE" : Creates a database in the Cloud SQL instance.
  • "DELETE_DATABASE" : Deletes a database in the Cloud SQL instance.
  • "UPDATE_DATABASE" : Updates a database in the Cloud SQL instance.
  • "FAILOVER" : Performs failover of an HA-enabled Cloud SQL failover replica.
  • "DELETE_BACKUP" : Deletes the backup taken by a backup run.
  • "RECREATE_REPLICA"
  • "TRUNCATE_LOG" : Truncates a general or slow log table in MySQL.
  • "DEMOTE_MASTER" : Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.
  • "MAINTENANCE" : Indicates that the instance is currently in maintenance. Maintenance typically causes the instance to be unavailable for 1-3 minutes.
  • "ENABLE_PRIVATE_IP" : This field is deprecated, and will be removed in future version of API.
  • "DEFER_MAINTENANCE"
  • "CREATE_CLONE" : Creates clone instance.
  • "RESCHEDULE_MAINTENANCE" : Reschedule maintenance to another time.
  • "START_EXTERNAL_SYNC" : Starts external sync of a Cloud SQL EM replica to an external primary instance.

Implementation

core.String? operationType;