| 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 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 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. This does not include the project ID.IOExceptionCopyright © 2011–2020 Google. All rights reserved.