Enum googapis::google::cloud::sql::v1::operation::SqlOperationType[][src]

#[repr(i32)]
pub enum SqlOperationType {
Show 35 variants Unspecified, Import, Export, Create, Update, Delete, Restart, Backup, Snapshot, BackupVolume, DeleteVolume, RestoreVolume, InjectUser, Clone, StopReplica, StartReplica, PromoteReplica, CreateReplica, CreateUser, DeleteUser, UpdateUser, CreateDatabase, DeleteDatabase, UpdateDatabase, Failover, DeleteBackup, RecreateReplica, TruncateLog, DemoteMaster, Maintenance, EnablePrivateIp, DeferMaintenance, CreateClone, RescheduleMaintenance, StartExternalSync,
}
Expand description

The type of Cloud SQL operation.

Variants

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
BackupVolume

Performs instance backup.

DeleteVolume

Deletes an instance backup.

RestoreVolume

Restores an instance backup.

InjectUser

Injects a privileged user in mysql for MOB instances.

Clone

Clones a Cloud SQL instance.

StopReplica

Stops replication on a Cloud SQL read replica instance.

StartReplica

Starts replication on a Cloud SQL read replica instance.

PromoteReplica

Promotes a Cloud SQL replica instance.

CreateReplica

Creates a Cloud SQL replica instance.

CreateUser

Creates a new user in a Cloud SQL instance.

DeleteUser

Deletes a user from a Cloud SQL instance.

UpdateUser

Updates an existing user in a Cloud SQL instance.

CreateDatabase

Creates a database in the Cloud SQL instance.

DeleteDatabase

Deletes a database in the Cloud SQL instance.

UpdateDatabase

Updates a database in the Cloud SQL instance.

Failover

Performs failover of an HA-enabled Cloud SQL failover replica.

DeleteBackup

Deletes the backup taken by a backup run.

RecreateReplica
TruncateLog

Truncates a general or slow log table in MySQL.

DemoteMaster

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.

EnablePrivateIp

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

DeferMaintenance
CreateClone

Creates clone instance.

RescheduleMaintenance

Reschedule maintenance to another time.

StartExternalSync

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

Implementations

Returns true if value is a variant of SqlOperationType.

Converts an i32 to a SqlOperationType, or None if value is not a valid variant.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more