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

target.apidocs.com.google.api.services.bigquerydatatransfer.v1.BigQueryDataTransfer.Projects.DataSources.html Maven / Gradle / Ivy

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






BigQueryDataTransfer.Projects.DataSources (BigQuery Data Transfer API v1-rev20240914-2.0.0)












com.google.api.services.bigquerydatatransfer.v1

Class BigQueryDataTransfer.Projects.DataSources

  • java.lang.Object
    • com.google.api.services.bigquerydatatransfer.v1.BigQueryDataTransfer.Projects.DataSources
    • Constructor Detail

      • DataSources

        public DataSources()
    • Method Detail

      • checkValidCreds

        public BigQueryDataTransfer.Projects.DataSources.CheckValidCreds checkValidCreds(String name,
                                                                                         CheckValidCredsRequest content)
                                                                                  throws IOException
        Returns true if valid credentials exist for the given data source and requesting user. Create a request for the method "dataSources.checkValidCreds". This request holds the parameters needed by the bigquerydatatransfer server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The data source in the form: `projects/{project_id}/dataSources/{data_source_id}` or `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
        content - the CheckValidCredsRequest
        Returns:
        the request
        Throws:
        IOException
      • get

        public BigQueryDataTransfer.Projects.DataSources.Get get(String name)
                                                          throws IOException
        Retrieves a supported data source and returns its settings. Create a request for the method "dataSources.get". This request holds the parameters needed by the bigquerydatatransfer server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The field will contain name of the resource requested, for example: `projects/{project_id}/dataSources/{data_source_id}` or `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
        Returns:
        the request
        Throws:
        IOException
      • list

        public BigQueryDataTransfer.Projects.DataSources.List list(String parent)
                                                            throws IOException
        Lists supported data sources and returns their settings. Create a request for the method "dataSources.list". This request holds the parameters needed by the bigquerydatatransfer server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The BigQuery project id for which data sources should be returned. Must be in the form: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy