target.apidocs.com.google.api.services.bigquerydatatransfer.v1.BigQueryDataTransfer.Projects.DataSources.html Maven / Gradle / Ivy
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
-
- Enclosing class:
- BigQueryDataTransfer.Projects
public class BigQueryDataTransfer.Projects.DataSources
extends Object
The "dataSources" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
BigQueryDataTransfer.Projects.DataSources.CheckValidCreds
class
BigQueryDataTransfer.Projects.DataSources.Get
class
BigQueryDataTransfer.Projects.DataSources.List
-
Constructor Summary
Constructors
Constructor and Description
DataSources()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
BigQueryDataTransfer.Projects.DataSources.CheckValidCreds
checkValidCreds(String name,
CheckValidCredsRequest content)
Returns true if valid credentials exist for the given data source and requesting user.
BigQueryDataTransfer.Projects.DataSources.Get
get(String name)
Retrieves a supported data source and returns its settings.
BigQueryDataTransfer.Projects.DataSources.List
list(String parent)
Lists supported data sources and returns their settings.
-
-
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