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

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






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












com.google.api.services.backupdr.v1

Class Backupdr.Projects.Locations.BackupVaults.DataSources

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

      • DataSources

        public DataSources()
    • Method Detail

      • fetchAccessToken

        public Backupdr.Projects.Locations.BackupVaults.DataSources.FetchAccessToken fetchAccessToken(String name,
                                                                                                      FetchAccessTokenRequest content)
                                                                                               throws IOException
        Internal only. Fetch access token for a given data source. Create a request for the method "dataSources.fetchAccessToken". 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 for the location for which static IPs should be returned. Must be in the format 'projects/locations/backupVaults/dataSources'.
        content - the FetchAccessTokenRequest
        Returns:
        the request
        Throws:
        IOException
      • finalizeBackup

        public Backupdr.Projects.Locations.BackupVaults.DataSources.FinalizeBackup finalizeBackup(String dataSource,
                                                                                                  FinalizeBackupRequest content)
                                                                                           throws IOException
        Internal only. Finalize a backup that was started by a call to InitiateBackup. Create a request for the method "dataSources.finalizeBackup". 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:
        dataSource - Required. The resource name of the instance, in the format 'projects/locations/backupVaults/dataSources/'.
        content - the FinalizeBackupRequest
        Returns:
        the request
        Throws:
        IOException
      • get

        public Backupdr.Projects.Locations.BackupVaults.DataSources.Get get(String name)
                                                                     throws IOException
        Gets details of a DataSource. Create a request for the method "dataSources.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/{location}/backupVaults/{resource_name}/dataSource/{resou rce_name}'
        Returns:
        the request
        Throws:
        IOException
      • list

        public Backupdr.Projects.Locations.BackupVaults.DataSources.List list(String parent)
                                                                       throws IOException
        Lists DataSources in a given project and location. Create a request for the method "dataSources.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 data sources 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.Patch patch(String name,
                                                                                DataSource content)
                                                                         throws IOException
        Updates the settings of a DataSource. Create a request for the method "dataSources.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 DataSource
        Returns:
        the request
        Throws:
        IOException
      • remove

        public Backupdr.Projects.Locations.BackupVaults.DataSources.Remove remove(String name,
                                                                                  RemoveDataSourceRequest content)
                                                                           throws IOException
        Deletes a DataSource. This is a custom method instead of a standard delete method because external clients will not delete DataSources except for BackupDR backup appliances. Create a request for the method "dataSources.remove". 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.
        content - the RemoveDataSourceRequest
        Returns:
        the request
        Throws:
        IOException
      • backups

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

        The typical use is:

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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy