target.apidocs.com.google.api.services.backupdr.v1.Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.html Maven / Gradle / Ivy
Backupdr.Projects.Locations.BackupVaults.DataSources.Backups (Backup and DR Service API v1-rev20240731-2.0.0)
com.google.api.services.backupdr.v1
Class Backupdr.Projects.Locations.BackupVaults.DataSources.Backups
- java.lang.Object
-
- com.google.api.services.backupdr.v1.Backupdr.Projects.Locations.BackupVaults.DataSources.Backups
-
- Enclosing class:
- Backupdr.Projects.Locations.BackupVaults.DataSources
public class Backupdr.Projects.Locations.BackupVaults.DataSources.Backups
extends Object
The "backups" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Delete
class
Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Get
class
Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.List
class
Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Patch
class
Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Restore
-
Constructor Summary
Constructors
Constructor and Description
Backups()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Delete
delete(String name)
Deletes a Backup.
Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Get
get(String name)
Gets details of a Backup.
Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.List
list(String parent)
Lists Backups in a given project and location.
Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Patch
patch(String name,
Backup content)
Updates the settings of a Backup.
Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Restore
restore(String name,
RestoreBackupRequest content)
Restore from a Backup
Create a request for the method "backups.restore".
-
-
Method Detail
-
delete
public Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Delete delete(String name)
throws IOException
Deletes a Backup.
Create a request for the method "backups.delete".
This request holds the parameters needed by the backupdr server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Name of the resource.
- Returns:
- the request
- Throws:
IOException
-
get
public Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Get get(String name)
throws IOException
Gets details of a Backup.
Create a request for the method "backups.get".
This request holds the parameters needed by the backupdr server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{loc
ation}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'
- Returns:
- the request
- Throws:
IOException
-
list
public Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.List list(String parent)
throws IOException
Lists Backups in a given project and location.
Create a request for the method "backups.list".
This request holds the parameters needed by the backupdr server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The project and location for which to retrieve backup information, in the format
'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to
Google Cloud regions, for example **us-central1**. To retrieve data sources for all
locations, use "-" for the '{location}' value.
- Returns:
- the request
- Throws:
IOException
-
patch
public Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Patch patch(String name,
Backup content)
throws IOException
Updates the settings of a Backup.
Create a request for the method "backups.patch".
This request holds the parameters needed by the backupdr server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Output only. Identifier. Name of the resource.
content
- the Backup
- Returns:
- the request
- Throws:
IOException
-
restore
public Backupdr.Projects.Locations.BackupVaults.DataSources.Backups.Restore restore(String name,
RestoreBackupRequest content)
throws IOException
Restore from a Backup
Create a request for the method "backups.restore".
This request holds the parameters needed by the backupdr server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the Backup instance, in the format
'projects/locations/backupVaults/dataSources/backups/'.
content
- the RestoreBackupRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy