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