target.apidocs.com.google.api.services.backupdr.v1.Backupdr.Projects.Locations.BackupPlanAssociations.html Maven / Gradle / Ivy
Backupdr.Projects.Locations.BackupPlanAssociations (Backup and DR Service API v1-rev20240731-2.0.0)
com.google.api.services.backupdr.v1
Class Backupdr.Projects.Locations.BackupPlanAssociations
- java.lang.Object
-
- com.google.api.services.backupdr.v1.Backupdr.Projects.Locations.BackupPlanAssociations
-
- Enclosing class:
- Backupdr.Projects.Locations
public class Backupdr.Projects.Locations.BackupPlanAssociations
extends Object
The "backupPlanAssociations" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Backupdr.Projects.Locations.BackupPlanAssociations.Create
class
Backupdr.Projects.Locations.BackupPlanAssociations.Delete
class
Backupdr.Projects.Locations.BackupPlanAssociations.Get
class
Backupdr.Projects.Locations.BackupPlanAssociations.List
class
Backupdr.Projects.Locations.BackupPlanAssociations.TriggerBackup
-
Constructor Summary
Constructors
Constructor and Description
BackupPlanAssociations()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Backupdr.Projects.Locations.BackupPlanAssociations.Create
create(String parent,
BackupPlanAssociation content)
Create a BackupPlanAssociation
Create a request for the method "backupPlanAssociations.create".
Backupdr.Projects.Locations.BackupPlanAssociations.Delete
delete(String name)
Deletes a single BackupPlanAssociation.
Backupdr.Projects.Locations.BackupPlanAssociations.Get
get(String name)
Gets details of a single BackupPlanAssociation.
Backupdr.Projects.Locations.BackupPlanAssociations.List
list(String parent)
Lists BackupPlanAssociations in a given project and location.
Backupdr.Projects.Locations.BackupPlanAssociations.TriggerBackup
triggerBackup(String name,
TriggerBackupRequest content)
Triggers a new Backup.
-
-
Method Detail
-
create
public Backupdr.Projects.Locations.BackupPlanAssociations.Create create(String parent,
BackupPlanAssociation content)
throws IOException
Create a BackupPlanAssociation
Create a request for the method "backupPlanAssociations.create".
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 backup plan association project and location in the format
`projects/{project_id}/locations/{location}`. In Cloud BackupDR locations map to GCP
regions, for example **us-central1**.
content
- the BackupPlanAssociation
- Returns:
- the request
- Throws:
IOException
-
delete
public Backupdr.Projects.Locations.BackupPlanAssociations.Delete delete(String name)
throws IOException
Deletes a single BackupPlanAssociation.
Create a request for the method "backupPlanAssociations.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 backup plan association resource, in the format
`projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
- Returns:
- the request
- Throws:
IOException
-
get
public Backupdr.Projects.Locations.BackupPlanAssociations.Get get(String name)
throws IOException
Gets details of a single BackupPlanAssociation.
Create a request for the method "backupPlanAssociations.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 backup plan association resource, in the format
`projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
- Returns:
- the request
- Throws:
IOException
-
list
public Backupdr.Projects.Locations.BackupPlanAssociations.List list(String parent)
throws IOException
Lists BackupPlanAssociations in a given project and location.
Create a request for the method "backupPlanAssociations.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 Plan Associations information, in
the format `projects/{project_id}/locations/{location}`. In Cloud BackupDR, locations map
to GCP regions, for example **us-central1**. To retrieve backup plan associations for all
locations, use "-" for the `{location}` value.
- Returns:
- the request
- Throws:
IOException
-
triggerBackup
public Backupdr.Projects.Locations.BackupPlanAssociations.TriggerBackup triggerBackup(String name,
TriggerBackupRequest content)
throws IOException
Triggers a new Backup.
Create a request for the method "backupPlanAssociations.triggerBackup".
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 backup plan association resource, in the format
`projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
content
- the TriggerBackupRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy