target.apidocs.com.google.api.services.bigquerydatatransfer.v1.BigQueryDataTransfer.Projects.Locations.html Maven / Gradle / Ivy
BigQueryDataTransfer.Projects.Locations (BigQuery Data Transfer API v1-rev20240914-2.0.0)
com.google.api.services.bigquerydatatransfer.v1
Class BigQueryDataTransfer.Projects.Locations
- java.lang.Object
-
- com.google.api.services.bigquerydatatransfer.v1.BigQueryDataTransfer.Projects.Locations
-
- Enclosing class:
- BigQueryDataTransfer.Projects
public class BigQueryDataTransfer.Projects.Locations
extends Object
The "locations" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
BigQueryDataTransfer.Projects.Locations.DataSources
The "dataSources" collection of methods.
class
BigQueryDataTransfer.Projects.Locations.EnrollDataSources
class
BigQueryDataTransfer.Projects.Locations.Get
class
BigQueryDataTransfer.Projects.Locations.List
class
BigQueryDataTransfer.Projects.Locations.TransferConfigs
The "transferConfigs" collection of methods.
class
BigQueryDataTransfer.Projects.Locations.UnenrollDataSources
-
Constructor Summary
Constructors
Constructor and Description
Locations()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
BigQueryDataTransfer.Projects.Locations.DataSources
dataSources()
An accessor for creating requests from the DataSources collection.
BigQueryDataTransfer.Projects.Locations.EnrollDataSources
enrollDataSources(String name,
EnrollDataSourcesRequest content)
Enroll data sources in a user project.
BigQueryDataTransfer.Projects.Locations.Get
get(String name)
Gets information about a location.
BigQueryDataTransfer.Projects.Locations.List
list(String name)
Lists information about the supported locations for this service.
BigQueryDataTransfer.Projects.Locations.TransferConfigs
transferConfigs()
An accessor for creating requests from the TransferConfigs collection.
BigQueryDataTransfer.Projects.Locations.UnenrollDataSources
unenrollDataSources(String name,
UnenrollDataSourcesRequest content)
Unenroll data sources in a user project.
-
-
Method Detail
-
enrollDataSources
public BigQueryDataTransfer.Projects.Locations.EnrollDataSources enrollDataSources(String name,
EnrollDataSourcesRequest content)
throws IOException
Enroll data sources in a user project. This allows users to create transfer configurations for
these data sources. They will also appear in the ListDataSources RPC and as such, will appear in
the [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents can be found in
the public guide for [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
[Data Transfer Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
Create a request for the method "locations.enrollDataSources".
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 name of the project resource in the form: `projects/{project_id}`
content
- the EnrollDataSourcesRequest
- Returns:
- the request
- Throws:
IOException
-
get
public BigQueryDataTransfer.Projects.Locations.Get get(String name)
throws IOException
Gets information about a location.
Create a request for the method "locations.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
- Resource name for the location.
- Returns:
- the request
- Throws:
IOException
-
list
public BigQueryDataTransfer.Projects.Locations.List list(String name)
throws IOException
Lists information about the supported locations for this service.
Create a request for the method "locations.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:
name
- The resource that owns the locations collection, if applicable.
- Returns:
- the request
- Throws:
IOException
-
unenrollDataSources
public BigQueryDataTransfer.Projects.Locations.UnenrollDataSources unenrollDataSources(String name,
UnenrollDataSourcesRequest content)
throws IOException
Unenroll data sources in a user project. This allows users to remove transfer configurations for
these data sources. They will no longer appear in the ListDataSources RPC and will also no longer
appear in the [BigQuery UI](https://console.cloud.google.com/bigquery). Data transfers
configurations of unenrolled data sources will not be scheduled.
Create a request for the method "locations.unenrollDataSources".
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 name of the project resource in the form: `projects/{project_id}`
content
- the UnenrollDataSourcesRequest
- Returns:
- the request
- Throws:
IOException
-
dataSources
public BigQueryDataTransfer.Projects.Locations.DataSources dataSources()
An accessor for creating requests from the DataSources collection.
The typical use is:
BigQueryDataTransfer bigquerydatatransfer = new BigQueryDataTransfer(...);
BigQueryDataTransfer.DataSources.List request = bigquerydatatransfer.dataSources().list(parameters ...)
- Returns:
- the resource collection
-
transferConfigs
public BigQueryDataTransfer.Projects.Locations.TransferConfigs transferConfigs()
An accessor for creating requests from the TransferConfigs collection.
The typical use is:
BigQueryDataTransfer bigquerydatatransfer = new BigQueryDataTransfer(...);
BigQueryDataTransfer.TransferConfigs.List request = bigquerydatatransfer.transferConfigs().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy