public class BigQueryDataTransfer.Projects.TransferConfigs
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
BigQueryDataTransfer.Projects.TransferConfigs.Create |
class |
BigQueryDataTransfer.Projects.TransferConfigs.Delete |
class |
BigQueryDataTransfer.Projects.TransferConfigs.Get |
class |
BigQueryDataTransfer.Projects.TransferConfigs.List |
class |
BigQueryDataTransfer.Projects.TransferConfigs.Patch |
class |
BigQueryDataTransfer.Projects.TransferConfigs.Runs
The "runs" collection of methods.
|
class |
BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns |
class |
BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns |
Constructor and Description |
---|
TransferConfigs() |
Modifier and Type | Method and Description |
---|---|
BigQueryDataTransfer.Projects.TransferConfigs.Create |
create(java.lang.String parent,
TransferConfig content)
Creates a new data transfer configuration.
|
BigQueryDataTransfer.Projects.TransferConfigs.Delete |
delete(java.lang.String name)
Deletes a data transfer configuration, including any associated transfer runs and logs.
|
BigQueryDataTransfer.Projects.TransferConfigs.Get |
get(java.lang.String name)
Returns information about a data transfer config.
|
BigQueryDataTransfer.Projects.TransferConfigs.List |
list(java.lang.String parent)
Returns information about all data transfers in the project.
|
BigQueryDataTransfer.Projects.TransferConfigs.Patch |
patch(java.lang.String name,
TransferConfig content)
Updates a data transfer configuration.
|
BigQueryDataTransfer.Projects.TransferConfigs.Runs |
runs()
An accessor for creating requests from the Runs collection.
|
BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns |
scheduleRuns(java.lang.String parent,
ScheduleTransferRunsRequest content)
Creates transfer runs for a time range [start_time, end_time].
|
BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns |
startManualRuns(java.lang.String parent,
StartManualTransferRunsRequest content)
Start manual transfer runs to be executed now with schedule_time equal to current time.
|
public BigQueryDataTransfer.Projects.TransferConfigs.Create create(java.lang.String parent, TransferConfig content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The BigQuery project id where the transfer configuration should be created.
Must be in the
format projects/{project_id}/locations/{location_id} or
projects/{project_id}. If
specified location and location of the
destination bigquery dataset do not match - the
request will fail.content
- the TransferConfig
java.io.IOException
public BigQueryDataTransfer.Projects.TransferConfigs.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The field will contain name of the resource requested, for example:
`projects/{project_id}/transferConfigs/{config_id}` or
`projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`java.io.IOException
public BigQueryDataTransfer.Projects.TransferConfigs.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The field will contain name of the resource requested, for example:
`projects/{project_id}/transferConfigs/{config_id}` or
`projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`java.io.IOException
public BigQueryDataTransfer.Projects.TransferConfigs.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The BigQuery project id for which data sources
should be returned: `projects/{project_id}`
or
`projects/{project_id}/locations/{location_id}`java.io.IOException
public BigQueryDataTransfer.Projects.TransferConfigs.Patch patch(java.lang.String name, TransferConfig content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The resource name of the transfer config.
Transfer config names have the form of
`projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
The name is
automatically generated based on the config_id specified in
CreateTransferConfigRequest
along with project_id and region. If config_id
is not provided, usually a uuid, even
though it is not guaranteed or
required, will be generated for config_id.content
- the TransferConfig
java.io.IOException
public BigQueryDataTransfer.Projects.TransferConfigs.ScheduleRuns scheduleRuns(java.lang.String parent, ScheduleTransferRunsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.parent
- Required. Transfer configuration name in the form:
`projects/{project_id}/transferConfigs/{config_id}` or
`projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.content
- the ScheduleTransferRunsRequest
java.io.IOException
public BigQueryDataTransfer.Projects.TransferConfigs.StartManualRuns startManualRuns(java.lang.String parent, StartManualTransferRunsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.parent
- Transfer configuration name in the form:
`projects/{project_id}/transferConfigs/{config_id}` or
`projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.content
- the StartManualTransferRunsRequest
java.io.IOException
public BigQueryDataTransfer.Projects.TransferConfigs.Runs runs()
The typical use is:
BigQueryDataTransfer bigquerydatatransfer = new BigQueryDataTransfer(...);
BigQueryDataTransfer.Runs.List request = bigquerydatatransfer.runs().list(parameters ...)