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.BackupVaults.html Maven / Gradle / Ivy

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






Backupdr.Projects.Locations.BackupVaults (Backup and DR Service API v1-rev20240731-2.0.0)












com.google.api.services.backupdr.v1

Class Backupdr.Projects.Locations.BackupVaults

  • java.lang.Object
    • com.google.api.services.backupdr.v1.Backupdr.Projects.Locations.BackupVaults
    • Constructor Detail

      • BackupVaults

        public BackupVaults()
    • Method Detail

      • create

        public Backupdr.Projects.Locations.BackupVaults.Create create(String parent,
                                                                      BackupVault content)
                                                               throws IOException
        Create a request for the method "backupVaults.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. Value for parent.
        content - the BackupVault
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Backupdr.Projects.Locations.BackupVaults.Delete delete(String name)
                                                               throws IOException
        Deletes a BackupVault. Create a request for the method "backupVaults.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
      • fetchUsable

        public Backupdr.Projects.Locations.BackupVaults.FetchUsable fetchUsable(String parent)
                                                                         throws IOException
        FetchUsableBackupVaults lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission. Create a request for the method "backupVaults.fetchUsable". 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 backupvault stores 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 backupvault stores for all locations, use "-" for the '{location}' value.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Backupdr.Projects.Locations.BackupVaults.Get get(String name)
                                                         throws IOException
        Gets details of a BackupVault. Create a request for the method "backupVaults.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 backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'
        Returns:
        the request
        Throws:
        IOException
      • list

        public Backupdr.Projects.Locations.BackupVaults.List list(String parent)
                                                           throws IOException
        Lists BackupVaults in a given project and location. Create a request for the method "backupVaults.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 backupvault stores 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 backupvault stores for all locations, use "-" for the '{location}' value.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Backupdr.Projects.Locations.BackupVaults.Patch patch(String name,
                                                                    BackupVault content)
                                                             throws IOException
        Updates the settings of a BackupVault. Create a request for the method "backupVaults.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. The resource name.
        content - the BackupVault
        Returns:
        the request
        Throws:
        IOException
      • testIamPermissions

        public Backupdr.Projects.Locations.BackupVaults.TestIamPermissions testIamPermissions(String resource,
                                                                                              TestIamPermissionsRequest content)
                                                                                       throws IOException
        Returns the caller's permissions on a BackupVault resource. A caller is not required to have Google IAM permission to make this request. Create a request for the method "backupVaults.testIamPermissions". 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:
        resource - REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
        content - the TestIamPermissionsRequest
        Returns:
        the request
        Throws:
        IOException
      • dataSources

        public Backupdr.Projects.Locations.BackupVaults.DataSources dataSources()
        An accessor for creating requests from the DataSources collection.

        The typical use is:

            Backupdr backupdr = new Backupdr(...);
            Backupdr.DataSources.List request = backupdr.dataSources().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy