All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.backupdr.v1.Backupdr.Projects.Locations.BackupPlans.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241106-2.0.0
Show newest version






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
    • Constructor Detail

      • BackupPlans

        public BackupPlans()
    • 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