| Modifier and Type | Class and Description |
|---|---|
class |
SQLAdmin.BackupRuns.Delete |
class |
SQLAdmin.BackupRuns.Get |
class |
SQLAdmin.BackupRuns.Insert |
class |
SQLAdmin.BackupRuns.List |
| Constructor and Description |
|---|
BackupRuns() |
| Modifier and Type | Method and Description |
|---|---|
SQLAdmin.BackupRuns.Delete |
delete(String project,
String instance,
Long id)
Deletes the backup taken by a backup run.
|
SQLAdmin.BackupRuns.Get |
get(String project,
String instance,
Long id)
Retrieves a resource containing information about a backup run.
|
SQLAdmin.BackupRuns.Insert |
insert(String project,
String instance,
BackupRun content)
Creates a new backup run on demand.
|
SQLAdmin.BackupRuns.List |
list(String project,
String instance)
Lists all backup runs associated with the project or a given instance and configuration in the
reverse chronological order of the backup initiation time.
|
public SQLAdmin.BackupRuns.Delete delete(String project, String instance, Long id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Cloud SQL instance ID. This does not include the project ID.id - The ID of the backup run to delete. To find a backup run ID, use the
[list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns/list)
method.IOExceptionpublic SQLAdmin.BackupRuns.Get get(String project, String instance, Long id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Cloud SQL instance ID. This does not include the project ID.id - The ID of this backup run.IOExceptionpublic SQLAdmin.BackupRuns.Insert insert(String project, String instance, BackupRun content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Cloud SQL instance ID. This does not include the project ID.content - the BackupRunIOExceptionpublic SQLAdmin.BackupRuns.List list(String project, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Cloud SQL instance ID, or "-" for all instances. This does not include the project ID.IOExceptionCopyright © 2011–2025 Google. All rights reserved.