Namespace Google.Apis.SQLAdmin.v1 | Google.Apis.SQLAdmin.v1
Show / Hide Table of Contents

Namespace Google.Apis.SQLAdmin.v1

Classes

BackupRunsResource

The "backupRuns" collection of methods.

BackupRunsResource.DeleteRequest

Deletes the backup taken by a backup run.

BackupRunsResource.GetRequest

Retrieves a resource containing information about a backup run.

BackupRunsResource.InsertRequest

Creates a new backup run on demand.

BackupRunsResource.ListRequest

Lists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time.

BackupsResource

The "Backups" collection of methods.

BackupsResource.CreateBackupRequest

Creates a backup for a Cloud SQL instance. This API can be used only to create on-demand backups.

BackupsResource.DeleteBackupRequest

Deletes the backup.

BackupsResource.GetBackupRequest

Retrieves a resource containing information about a backup.

BackupsResource.ListBackupsRequest

Lists all backups associated with the project.

BackupsResource.UpdateBackupRequest

This API updates the following: 1- retention period and description of backup in case of final backups only. 2- gcbdr_soft_delete_status of backup in case of GCBDR managed backups only.

ConnectResource

The "connect" collection of methods.

ConnectResource.GenerateEphemeralCertRequest

Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.

ConnectResource.GetRequest

Retrieves connect settings about a Cloud SQL instance.

DatabasesResource

The "databases" collection of methods.

DatabasesResource.DeleteRequest

Deletes a database from a Cloud SQL instance.

DatabasesResource.GetRequest

Retrieves a resource containing information about a database inside a Cloud SQL instance.

DatabasesResource.InsertRequest

Inserts a resource containing information about a database inside a Cloud SQL instance. Note: You can't modify the default character set and collation.

DatabasesResource.ListRequest

Lists databases in the specified Cloud SQL instance.

DatabasesResource.Request

Partially updates a resource containing information about a database inside a Cloud SQL instance. This method supports semantics.

DatabasesResource.UpdateRequest

Updates a resource containing information about a database inside a Cloud SQL instance.

FlagsResource

The "flags" collection of methods.

FlagsResource.ListRequest

Lists all available database flags for Cloud SQL instances.

InstancesResource

The "instances" collection of methods.

InstancesResource.AcquireSsrsLeaseRequest

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

InstancesResource.AddServerCaRequest

Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in. For instances that have enabled Certificate Authority Service (CAS) based server CA, use AddServerCertificate to add a new server certificate.

InstancesResource.AddServerCertificateRequest

Add a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA. Required to prepare for a certificate rotation. If a server certificate version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one certificate version waiting to be rotated in. For instances not using CAS server CA, use AddServerCa instead.

InstancesResource.CloneRequest

Creates a Cloud SQL instance as a clone of the source instance. Using this operation might cause your instance to restart.

InstancesResource.DeleteRequest

Deletes a Cloud SQL instance.

InstancesResource.DemoteMasterRequest

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

InstancesResource.DemoteRequest

Demotes an existing standalone instance to be a Cloud SQL read replica for an external database server.

InstancesResource.ExportRequest

Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.

InstancesResource.FailoverRequest

Initiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance. Users are then rerouted to the new primary. For more information, see the Overview of high availability page in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes the instance to failover to its failover replica instance.

InstancesResource.GetRequest

Retrieves a resource containing information about a Cloud SQL instance.

InstancesResource.ImportRequest

Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.

InstancesResource.InsertRequest

Creates a new Cloud SQL instance.

InstancesResource.ListRequest

Lists instances under a given project.

InstancesResource.ListServerCasRequest

Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.

InstancesResource.ListServerCertificatesRequest

Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. There can be up to three sets of certs listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out. For instances not using Certificate Authority Service (CAS) server CA, use ListServerCas instead.

InstancesResource.Request

Partially updates settings of a Cloud SQL instance by merging the request with the current configuration. This method supports semantics.

InstancesResource.PointInTimeRestoreRequest

Point in time restore for an instance managed by Google Cloud Backup and Disaster Recovery.

InstancesResource.PromoteReplicaRequest

Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart.

InstancesResource.ReencryptRequest

Reencrypt CMEK instance with latest key version.

InstancesResource.ReleaseSsrsLeaseRequest

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

InstancesResource.ResetSslConfigRequest

Deletes all client certificates and generates a new server SSL certificate for the instance.

InstancesResource.RestartRequest

Restarts a Cloud SQL instance.

InstancesResource.RestoreBackupRequest

Restores a backup of a Cloud SQL instance. Using this operation might cause your instance to restart.

InstancesResource.RotateServerCaRequest

Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method. For instances that have enabled Certificate Authority Service (CAS) based server CA, use RotateServerCertificate to rotate the server certificate.

InstancesResource.RotateServerCertificateRequest

Rotates the server certificate version to one previously added with the addServerCertificate method. For instances not using Certificate Authority Service (CAS) server CA, use RotateServerCa instead.

InstancesResource.StartReplicaRequest

Starts the replication in the read replica instance.

InstancesResource.StopReplicaRequest

Stops the replication in the read replica instance.

InstancesResource.SwitchoverRequest

Switches over from the primary instance to the DR replica instance.

InstancesResource.TruncateLogRequest

Truncate MySQL general and slow query log tables MySQL only.

InstancesResource.UpdateRequest

Updates settings of a Cloud SQL instance. Using this operation might cause your instance to restart.

OperationsResource

The "operations" collection of methods.

OperationsResource.CancelRequest

Cancels an instance operation that has been performed on an instance.

OperationsResource.GetRequest

Retrieves an instance operation that has been performed on an instance.

OperationsResource.ListRequest

Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.

ProjectsResource

The "projects" collection of methods.

ProjectsResource.InstancesResource

The "instances" collection of methods.

ProjectsResource.InstancesResource.GetDiskShrinkConfigRequest

Get Disk Shrink Config for a given instance.

ProjectsResource.InstancesResource.GetLatestRecoveryTimeRequest

Get Latest Recovery Time for a given instance.

ProjectsResource.InstancesResource.PerformDiskShrinkRequest

Perform Disk Shrink on primary instance.

ProjectsResource.InstancesResource.RescheduleMaintenanceRequest

Reschedules the maintenance on the given instance.

ProjectsResource.InstancesResource.ResetReplicaSizeRequest

Reset Replica Size to primary instance disk size.

ProjectsResource.InstancesResource.StartExternalSyncRequest

Start External primary instance migration.

ProjectsResource.InstancesResource.VerifyExternalSyncSettingsRequest

Verify External primary instance external sync settings.

SQLAdminBaseServiceRequest<TResponse>

A base abstract class for SQLAdmin requests.

SQLAdminService

The SQLAdmin Service.

SQLAdminService.Scope

Available OAuth 2.0 scopes for use with the Cloud SQL Admin API.

SQLAdminService.ScopeConstants

Available OAuth 2.0 scope constants for use with the Cloud SQL Admin API.

SslCertsResource

The "sslCerts" collection of methods.

SslCertsResource.CreateEphemeralRequest

Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.

SslCertsResource.DeleteRequest

Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted.

SslCertsResource.GetRequest

Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation.

SslCertsResource.InsertRequest

Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted.

SslCertsResource.ListRequest

Lists all of the current SSL certificates for the instance.

TiersResource

The "tiers" collection of methods.

TiersResource.ListRequest

Lists all available machine types (tiers) for Cloud SQL, for example, db-custom-1-3840. For more information, see https://cloud.google.com/sql/pricing.

UsersResource

The "users" collection of methods.

UsersResource.DeleteRequest

Deletes a user from a Cloud SQL instance.

UsersResource.GetRequest

Retrieves a resource containing information about a user.

UsersResource.InsertRequest

Creates a new user in a Cloud SQL instance.

UsersResource.ListRequest

Lists users in the specified Cloud SQL instance.

UsersResource.UpdateRequest

Updates an existing user in a Cloud SQL instance.

Enums

FlagsResource.ListRequest.FlagScopeEnum

Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.

SQLAdminBaseServiceRequest<TResponse>.AltEnum

Data format for response.

SQLAdminBaseServiceRequest<TResponse>.XgafvEnum

V1 error format.

In this article
Back to top Generated by DocFX