Google Cloud BigQuery C++ Client  2.4.0
A C++ Client Library for Google Cloud BigQuery
Public Member Functions | Friends | List of all members
google::cloud::bigquery::DataTransferServiceClient Class Reference

This API allows users to manage their data transfers into BigQuery. More...

#include <google/cloud/bigquery/data_transfer_client.h>

Public Member Functions

 DataTransferServiceClient (std::shared_ptr< DataTransferServiceConnection > connection, Options opts={})
 
 ~DataTransferServiceClient ()
 
 DataTransferServiceClient (DataTransferServiceClient const &)=default
 
DataTransferServiceClientoperator= (DataTransferServiceClient const &)=default
 
 DataTransferServiceClient (DataTransferServiceClient &&)=default
 
DataTransferServiceClientoperator= (DataTransferServiceClient &&)=default
 
StatusOr< google::cloud::bigquery::datatransfer::v1::DataSource > GetDataSource (std::string const &name, Options opts={})
 Retrieves a supported data source and returns its settings. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::DataSource > GetDataSource (google::cloud::bigquery::datatransfer::v1::GetDataSourceRequest const &request, Options opts={})
 Retrieves a supported data source and returns its settings. More...
 
StreamRange< google::cloud::bigquery::datatransfer::v1::DataSource > ListDataSources (std::string const &parent, Options opts={})
 Lists supported data sources and returns their settings. More...
 
StreamRange< google::cloud::bigquery::datatransfer::v1::DataSource > ListDataSources (google::cloud::bigquery::datatransfer::v1::ListDataSourcesRequest request, Options opts={})
 Lists supported data sources and returns their settings. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig > CreateTransferConfig (std::string const &parent, google::cloud::bigquery::datatransfer::v1::TransferConfig const &transfer_config, Options opts={})
 Creates a new data transfer configuration. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig > CreateTransferConfig (google::cloud::bigquery::datatransfer::v1::CreateTransferConfigRequest const &request, Options opts={})
 Creates a new data transfer configuration. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig > UpdateTransferConfig (google::cloud::bigquery::datatransfer::v1::TransferConfig const &transfer_config, google::protobuf::FieldMask const &update_mask, Options opts={})
 Updates a data transfer configuration. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig > UpdateTransferConfig (google::cloud::bigquery::datatransfer::v1::UpdateTransferConfigRequest const &request, Options opts={})
 Updates a data transfer configuration. More...
 
Status DeleteTransferConfig (std::string const &name, Options opts={})
 Deletes a data transfer configuration, including any associated transfer runs and logs. More...
 
Status DeleteTransferConfig (google::cloud::bigquery::datatransfer::v1::DeleteTransferConfigRequest const &request, Options opts={})
 Deletes a data transfer configuration, including any associated transfer runs and logs. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig > GetTransferConfig (std::string const &name, Options opts={})
 Returns information about a data transfer config. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig > GetTransferConfig (google::cloud::bigquery::datatransfer::v1::GetTransferConfigRequest const &request, Options opts={})
 Returns information about a data transfer config. More...
 
StreamRange< google::cloud::bigquery::datatransfer::v1::TransferConfig > ListTransferConfigs (std::string const &parent, Options opts={})
 Returns information about all transfer configs owned by a project in the specified location. More...
 
StreamRange< google::cloud::bigquery::datatransfer::v1::TransferConfig > ListTransferConfigs (google::cloud::bigquery::datatransfer::v1::ListTransferConfigsRequest request, Options opts={})
 Returns information about all transfer configs owned by a project in the specified location. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsResponse > ScheduleTransferRuns (std::string const &parent, google::protobuf::Timestamp const &start_time, google::protobuf::Timestamp const &end_time, Options opts={})
 Creates transfer runs for a time range [start_time, end_time]. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsResponse > ScheduleTransferRuns (google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsRequest const &request, Options opts={})
 Creates transfer runs for a time range [start_time, end_time]. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::StartManualTransferRunsResponse > StartManualTransferRuns (google::cloud::bigquery::datatransfer::v1::StartManualTransferRunsRequest const &request, Options opts={})
 Start manual transfer runs to be executed now with schedule_time equal to current time. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferRun > GetTransferRun (std::string const &name, Options opts={})
 Returns information about the particular transfer run. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferRun > GetTransferRun (google::cloud::bigquery::datatransfer::v1::GetTransferRunRequest const &request, Options opts={})
 Returns information about the particular transfer run. More...
 
Status DeleteTransferRun (std::string const &name, Options opts={})
 Deletes the specified transfer run. More...
 
Status DeleteTransferRun (google::cloud::bigquery::datatransfer::v1::DeleteTransferRunRequest const &request, Options opts={})
 Deletes the specified transfer run. More...
 
StreamRange< google::cloud::bigquery::datatransfer::v1::TransferRun > ListTransferRuns (std::string const &parent, Options opts={})
 Returns information about running and completed transfer runs. More...
 
StreamRange< google::cloud::bigquery::datatransfer::v1::TransferRun > ListTransferRuns (google::cloud::bigquery::datatransfer::v1::ListTransferRunsRequest request, Options opts={})
 Returns information about running and completed transfer runs. More...
 
StreamRange< google::cloud::bigquery::datatransfer::v1::TransferMessage > ListTransferLogs (std::string const &parent, Options opts={})
 Returns log messages for the transfer run. More...
 
StreamRange< google::cloud::bigquery::datatransfer::v1::TransferMessage > ListTransferLogs (google::cloud::bigquery::datatransfer::v1::ListTransferLogsRequest request, Options opts={})
 Returns log messages for the transfer run. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::CheckValidCredsResponse > CheckValidCreds (std::string const &name, Options opts={})
 Returns true if valid credentials exist for the given data source and requesting user. More...
 
StatusOr< google::cloud::bigquery::datatransfer::v1::CheckValidCredsResponse > CheckValidCreds (google::cloud::bigquery::datatransfer::v1::CheckValidCredsRequest const &request, Options opts={})
 Returns true if valid credentials exist for the given data source and requesting user. More...
 
Status EnrollDataSources (google::cloud::bigquery::datatransfer::v1::EnrollDataSourcesRequest const &request, Options opts={})
 Enroll data sources in a user project. More...
 

Friends

bool operator== (DataTransferServiceClient const &a, DataTransferServiceClient const &b)
 
bool operator!= (DataTransferServiceClient const &a, DataTransferServiceClient const &b)
 

Detailed Description

This API allows users to manage their data transfers into BigQuery.

Equality

Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection> objects compare equal. Objects that compare equal share the same underlying resources.

Performance

Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.

Thread Safety

Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.

Definition at line 61 of file data_transfer_client.h.

Constructor & Destructor Documentation

◆ DataTransferServiceClient() [1/3]

google::cloud::bigquery::DataTransferServiceClient::DataTransferServiceClient ( std::shared_ptr< DataTransferServiceConnection connection,
Options  opts = {} 
)
explicit

◆ ~DataTransferServiceClient()

google::cloud::bigquery::DataTransferServiceClient::~DataTransferServiceClient ( )

◆ DataTransferServiceClient() [2/3]

google::cloud::bigquery::DataTransferServiceClient::DataTransferServiceClient ( DataTransferServiceClient const &  )
default

◆ DataTransferServiceClient() [3/3]

google::cloud::bigquery::DataTransferServiceClient::DataTransferServiceClient ( DataTransferServiceClient &&  )
default

Member Function Documentation

◆ CheckValidCreds() [1/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::CheckValidCredsResponse> google::cloud::bigquery::DataTransferServiceClient::CheckValidCreds ( google::cloud::bigquery::datatransfer::v1::CheckValidCredsRequest const &  request,
Options  opts = {} 
)

Returns true if valid credentials exist for the given data source and requesting user.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::CheckValidCredsRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::CheckValidCredsResponse

◆ CheckValidCreds() [2/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::CheckValidCredsResponse> google::cloud::bigquery::DataTransferServiceClient::CheckValidCreds ( std::string const &  name,
Options  opts = {} 
)

Returns true if valid credentials exist for the given data source and requesting user.

Parameters
nameRequired. The data source in the form: projects/{project_id}/dataSources/{data_source_id} or projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}.
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::CheckValidCredsResponse

◆ CreateTransferConfig() [1/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceClient::CreateTransferConfig ( google::cloud::bigquery::datatransfer::v1::CreateTransferConfigRequest const &  request,
Options  opts = {} 
)

Creates a new data transfer configuration.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::CreateTransferConfigRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferConfig

◆ CreateTransferConfig() [2/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceClient::CreateTransferConfig ( std::string const &  parent,
google::cloud::bigquery::datatransfer::v1::TransferConfig const &  transfer_config,
Options  opts = {} 
)

Creates a new data transfer configuration.

Parameters
parentRequired. 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.
transfer_configRequired. Data transfer configuration to create.
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferConfig

◆ DeleteTransferConfig() [1/2]

Status google::cloud::bigquery::DataTransferServiceClient::DeleteTransferConfig ( google::cloud::bigquery::datatransfer::v1::DeleteTransferConfigRequest const &  request,
Options  opts = {} 
)

Deletes a data transfer configuration, including any associated transfer runs and logs.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::DeleteTransferConfigRequest
optsOptional. Override the class-level options, such as retry and backoff policies.

◆ DeleteTransferConfig() [2/2]

Status google::cloud::bigquery::DataTransferServiceClient::DeleteTransferConfig ( std::string const &  name,
Options  opts = {} 
)

Deletes a data transfer configuration, including any associated transfer runs and logs.

Parameters
nameRequired. 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}
optsOptional. Override the class-level options, such as retry and backoff policies.

◆ DeleteTransferRun() [1/2]

Status google::cloud::bigquery::DataTransferServiceClient::DeleteTransferRun ( google::cloud::bigquery::datatransfer::v1::DeleteTransferRunRequest const &  request,
Options  opts = {} 
)

Deletes the specified transfer run.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::DeleteTransferRunRequest
optsOptional. Override the class-level options, such as retry and backoff policies.

◆ DeleteTransferRun() [2/2]

Status google::cloud::bigquery::DataTransferServiceClient::DeleteTransferRun ( std::string const &  name,
Options  opts = {} 
)

Deletes the specified transfer run.

Parameters
nameRequired. The field will contain name of the resource requested, for example: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}
optsOptional. Override the class-level options, such as retry and backoff policies.

◆ EnrollDataSources()

Status google::cloud::bigquery::DataTransferServiceClient::EnrollDataSources ( google::cloud::bigquery::datatransfer::v1::EnrollDataSourcesRequest const &  request,
Options  opts = {} 
)

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://bigquery.cloud.google.com' (and the documents can be found at https://cloud.google.com/bigquery/bigquery-web-ui and https://cloud.google.com/bigquery/docs/working-with-transfers).

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::EnrollDataSourcesRequest
optsOptional. Override the class-level options, such as retry and backoff policies.

◆ GetDataSource() [1/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::DataSource> google::cloud::bigquery::DataTransferServiceClient::GetDataSource ( google::cloud::bigquery::datatransfer::v1::GetDataSourceRequest const &  request,
Options  opts = {} 
)

Retrieves a supported data source and returns its settings.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::GetDataSourceRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::DataSource

◆ GetDataSource() [2/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::DataSource> google::cloud::bigquery::DataTransferServiceClient::GetDataSource ( std::string const &  name,
Options  opts = {} 
)

Retrieves a supported data source and returns its settings.

Parameters
nameRequired. 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}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::DataSource

◆ GetTransferConfig() [1/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceClient::GetTransferConfig ( google::cloud::bigquery::datatransfer::v1::GetTransferConfigRequest const &  request,
Options  opts = {} 
)

Returns information about a data transfer config.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::GetTransferConfigRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferConfig

◆ GetTransferConfig() [2/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceClient::GetTransferConfig ( std::string const &  name,
Options  opts = {} 
)

Returns information about a data transfer config.

Parameters
nameRequired. 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}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferConfig

◆ GetTransferRun() [1/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::TransferRun> google::cloud::bigquery::DataTransferServiceClient::GetTransferRun ( google::cloud::bigquery::datatransfer::v1::GetTransferRunRequest const &  request,
Options  opts = {} 
)

Returns information about the particular transfer run.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::GetTransferRunRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferRun

◆ GetTransferRun() [2/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::TransferRun> google::cloud::bigquery::DataTransferServiceClient::GetTransferRun ( std::string const &  name,
Options  opts = {} 
)

Returns information about the particular transfer run.

Parameters
nameRequired. The field will contain name of the resource requested, for example: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferRun

◆ ListDataSources() [1/2]

StreamRange<google::cloud::bigquery::datatransfer::v1::DataSource> google::cloud::bigquery::DataTransferServiceClient::ListDataSources ( google::cloud::bigquery::datatransfer::v1::ListDataSourcesRequest  request,
Options  opts = {} 
)

Lists supported data sources and returns their settings.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::ListDataSourcesRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::DataSource

◆ ListDataSources() [2/2]

StreamRange<google::cloud::bigquery::datatransfer::v1::DataSource> google::cloud::bigquery::DataTransferServiceClient::ListDataSources ( std::string const &  parent,
Options  opts = {} 
)

Lists supported data sources and returns their settings.

Parameters
parentRequired. 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}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::DataSource

◆ ListTransferConfigs() [1/2]

StreamRange<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceClient::ListTransferConfigs ( google::cloud::bigquery::datatransfer::v1::ListTransferConfigsRequest  request,
Options  opts = {} 
)

Returns information about all transfer configs owned by a project in the specified location.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::ListTransferConfigsRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferConfig

◆ ListTransferConfigs() [2/2]

StreamRange<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceClient::ListTransferConfigs ( std::string const &  parent,
Options  opts = {} 
)

Returns information about all transfer configs owned by a project in the specified location.

Parameters
parentRequired. The BigQuery project id for which data sources should be returned: projects/{project_id} or projects/{project_id}/locations/{location_id}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferConfig

◆ ListTransferLogs() [1/2]

StreamRange<google::cloud::bigquery::datatransfer::v1::TransferMessage> google::cloud::bigquery::DataTransferServiceClient::ListTransferLogs ( google::cloud::bigquery::datatransfer::v1::ListTransferLogsRequest  request,
Options  opts = {} 
)

Returns log messages for the transfer run.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::ListTransferLogsRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferMessage

◆ ListTransferLogs() [2/2]

StreamRange<google::cloud::bigquery::datatransfer::v1::TransferMessage> google::cloud::bigquery::DataTransferServiceClient::ListTransferLogs ( std::string const &  parent,
Options  opts = {} 
)

Returns log messages for the transfer run.

Parameters
parentRequired. Transfer run name in the form: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferMessage

◆ ListTransferRuns() [1/2]

StreamRange<google::cloud::bigquery::datatransfer::v1::TransferRun> google::cloud::bigquery::DataTransferServiceClient::ListTransferRuns ( google::cloud::bigquery::datatransfer::v1::ListTransferRunsRequest  request,
Options  opts = {} 
)

Returns information about running and completed transfer runs.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::ListTransferRunsRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferRun

◆ ListTransferRuns() [2/2]

StreamRange<google::cloud::bigquery::datatransfer::v1::TransferRun> google::cloud::bigquery::DataTransferServiceClient::ListTransferRuns ( std::string const &  parent,
Options  opts = {} 
)

Returns information about running and completed transfer runs.

Parameters
parentRequired. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: projects/{project_id}/transferConfigs/{config_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}.
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferRun

◆ operator=() [1/2]

DataTransferServiceClient& google::cloud::bigquery::DataTransferServiceClient::operator= ( DataTransferServiceClient &&  )
default

◆ operator=() [2/2]

DataTransferServiceClient& google::cloud::bigquery::DataTransferServiceClient::operator= ( DataTransferServiceClient const &  )
default

◆ ScheduleTransferRuns() [1/2]

StatusOr< google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsResponse> google::cloud::bigquery::DataTransferServiceClient::ScheduleTransferRuns ( google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsRequest const &  request,
Options  opts = {} 
)

Creates transfer runs for a time range [start_time, end_time].

For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range. DEPRECATED: use StartManualTransferRuns instead.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsResponse

◆ ScheduleTransferRuns() [2/2]

StatusOr< google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsResponse> google::cloud::bigquery::DataTransferServiceClient::ScheduleTransferRuns ( std::string const &  parent,
google::protobuf::Timestamp const &  start_time,
google::protobuf::Timestamp const &  end_time,
Options  opts = {} 
)

Creates transfer runs for a time range [start_time, end_time].

For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range. DEPRECATED: use StartManualTransferRuns instead.

Parameters
parentRequired. Transfer configuration name in the form: projects/{project_id}/transferConfigs/{config_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}.
start_timeRequired. Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00".
end_timeRequired. End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00".
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsResponse

◆ StartManualTransferRuns()

StatusOr<google::cloud::bigquery::datatransfer::v1:: StartManualTransferRunsResponse> google::cloud::bigquery::DataTransferServiceClient::StartManualTransferRuns ( google::cloud::bigquery::datatransfer::v1::StartManualTransferRunsRequest const &  request,
Options  opts = {} 
)

Start manual transfer runs to be executed now with schedule_time equal to current time.

The transfer runs can be created for a time range where the run_time is between start_time (inclusive) and end_time (exclusive), or for a specific run_time.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::StartManualTransferRunsRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::StartManualTransferRunsResponse

◆ UpdateTransferConfig() [1/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceClient::UpdateTransferConfig ( google::cloud::bigquery::datatransfer::v1::TransferConfig const &  transfer_config,
google::protobuf::FieldMask const &  update_mask,
Options  opts = {} 
)

Updates a data transfer configuration.

All fields must be set, even if they are not updated.

Parameters
transfer_configRequired. Data transfer configuration to create.
update_maskRequired. Required list of fields to be updated in this request.
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferConfig

◆ UpdateTransferConfig() [2/2]

StatusOr<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceClient::UpdateTransferConfig ( google::cloud::bigquery::datatransfer::v1::UpdateTransferConfigRequest const &  request,
Options  opts = {} 
)

Updates a data transfer configuration.

All fields must be set, even if they are not updated.

Parameters
requestgoogle::cloud::bigquery::datatransfer::v1::UpdateTransferConfigRequest
optsOptional. Override the class-level options, such as retry and backoff policies.
Returns
google::cloud::bigquery::datatransfer::v1::TransferConfig

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( DataTransferServiceClient const &  a,
DataTransferServiceClient const &  b 
)
friend

Definition at line 83 of file data_transfer_client.h.

◆ operator==

bool operator== ( DataTransferServiceClient const &  a,
DataTransferServiceClient const &  b 
)
friend

Definition at line 79 of file data_transfer_client.h.