| Modifier and Type | Class and Description |
|---|---|
class |
SQLAdmin.Backups.CreateBackup |
class |
SQLAdmin.Backups.DeleteBackup |
class |
SQLAdmin.Backups.GetBackup |
class |
SQLAdmin.Backups.ListBackups |
class |
SQLAdmin.Backups.UpdateBackup |
| Constructor and Description |
|---|
Backups() |
| Modifier and Type | Method and Description |
|---|---|
SQLAdmin.Backups.CreateBackup |
createBackup(String parent,
Backup content)
Creates a backup for a Cloud SQL instance.
|
SQLAdmin.Backups.DeleteBackup |
deleteBackup(String name)
Deletes the backup.
|
SQLAdmin.Backups.GetBackup |
getBackup(String name)
Retrieves a resource containing information about a backup.
|
SQLAdmin.Backups.ListBackups |
listBackups(String parent)
Lists all backups associated with the project.
|
SQLAdmin.Backups.UpdateBackup |
updateBackup(String name,
Backup content)
Updates the retention period and the description of the backup.
|
public SQLAdmin.Backups.CreateBackup createBackup(String parent, Backup content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent resource where this backup is created. Format: projects/{project}content - the BackupIOExceptionpublic SQLAdmin.Backups.DeleteBackup deleteBackup(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the backup to delete. Format: projects/{project}/backups/{backup}IOExceptionpublic SQLAdmin.Backups.GetBackup getBackup(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the backup to retrieve. Format: projects/{project}/backups/{backup}IOExceptionpublic SQLAdmin.Backups.ListBackups listBackups(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent that owns this collection of backups. Format: projects/{project}IOExceptionpublic SQLAdmin.Backups.UpdateBackup updateBackup(String name, Backup content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}.content - the BackupIOExceptionCopyright © 2011–2025 Google. All rights reserved.