Google BigQuery Data Transfer v1 API - Class DataTransferService.DataTransferServiceClient (4.2.0)

public class DataTransferServiceClient : ClientBase<DataTransferService.DataTransferServiceClient>

Reference documentation and code samples for the Google BigQuery Data Transfer v1 API class DataTransferService.DataTransferServiceClient.

Client for DataTransferService

Inheritance

Object > ClientBase > ClientBase<DataTransferService.DataTransferServiceClient> > DataTransferService.DataTransferServiceClient

Namespace

Google.Cloud.BigQuery.DataTransfer.V1

Assembly

Google.Cloud.BigQuery.DataTransfer.V1.dll

Constructors

DataTransferServiceClient()

protected DataTransferServiceClient()

Protected parameterless constructor to allow creation of test doubles.

DataTransferServiceClient(CallInvoker)

public DataTransferServiceClient(CallInvoker callInvoker)

Creates a new client for DataTransferService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

DataTransferServiceClient(ChannelBase)

public DataTransferServiceClient(ChannelBase channel)

Creates a new client for DataTransferService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

DataTransferServiceClient(ClientBase.ClientBaseConfiguration)

protected DataTransferServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CheckValidCreds(CheckValidCredsRequest, CallOptions)

public virtual CheckValidCredsResponse CheckValidCreds(CheckValidCredsRequest request, CallOptions options)

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

Parameters
NameDescription
requestCheckValidCredsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
CheckValidCredsResponse

The response received from the server.

CheckValidCreds(CheckValidCredsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual CheckValidCredsResponse CheckValidCreds(CheckValidCredsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestCheckValidCredsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
CheckValidCredsResponse

The response received from the server.

CheckValidCredsAsync(CheckValidCredsRequest, CallOptions)

public virtual AsyncUnaryCall<CheckValidCredsResponse> CheckValidCredsAsync(CheckValidCredsRequest request, CallOptions options)

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

Parameters
NameDescription
requestCheckValidCredsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<CheckValidCredsResponse>

The call object.

CheckValidCredsAsync(CheckValidCredsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<CheckValidCredsResponse> CheckValidCredsAsync(CheckValidCredsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestCheckValidCredsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<CheckValidCredsResponse>

The call object.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
Locations.LocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateTransferConfig(CreateTransferConfigRequest, CallOptions)

public virtual TransferConfig CreateTransferConfig(CreateTransferConfigRequest request, CallOptions options)

Creates a new data transfer configuration.

Parameters
NameDescription
requestCreateTransferConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TransferConfig

The response received from the server.

CreateTransferConfig(CreateTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual TransferConfig CreateTransferConfig(CreateTransferConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a new data transfer configuration.

Parameters
NameDescription
requestCreateTransferConfigRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TransferConfig

The response received from the server.

CreateTransferConfigAsync(CreateTransferConfigRequest, CallOptions)

public virtual AsyncUnaryCall<TransferConfig> CreateTransferConfigAsync(CreateTransferConfigRequest request, CallOptions options)

Creates a new data transfer configuration.

Parameters
NameDescription
requestCreateTransferConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TransferConfig>

The call object.

CreateTransferConfigAsync(CreateTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<TransferConfig> CreateTransferConfigAsync(CreateTransferConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a new data transfer configuration.

Parameters
NameDescription
requestCreateTransferConfigRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<TransferConfig>

The call object.

DeleteTransferConfig(DeleteTransferConfigRequest, CallOptions)

public virtual Empty DeleteTransferConfig(DeleteTransferConfigRequest request, CallOptions options)

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

Parameters
NameDescription
requestDeleteTransferConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteTransferConfig(DeleteTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteTransferConfig(DeleteTransferConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestDeleteTransferConfigRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteTransferConfigAsync(DeleteTransferConfigRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteTransferConfigAsync(DeleteTransferConfigRequest request, CallOptions options)

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

Parameters
NameDescription
requestDeleteTransferConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteTransferConfigAsync(DeleteTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteTransferConfigAsync(DeleteTransferConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestDeleteTransferConfigRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteTransferRun(DeleteTransferRunRequest, CallOptions)

public virtual Empty DeleteTransferRun(DeleteTransferRunRequest request, CallOptions options)

Deletes the specified transfer run.

Parameters
NameDescription
requestDeleteTransferRunRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteTransferRun(DeleteTransferRunRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteTransferRun(DeleteTransferRunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified transfer run.

Parameters
NameDescription
requestDeleteTransferRunRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteTransferRunAsync(DeleteTransferRunRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteTransferRunAsync(DeleteTransferRunRequest request, CallOptions options)

Deletes the specified transfer run.

Parameters
NameDescription
requestDeleteTransferRunRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteTransferRunAsync(DeleteTransferRunRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteTransferRunAsync(DeleteTransferRunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified transfer run.

Parameters
NameDescription
requestDeleteTransferRunRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

EnrollDataSources(EnrollDataSourcesRequest, CallOptions)

public virtual Empty EnrollDataSources(EnrollDataSourcesRequest request, CallOptions options)

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, and the documents can be found in the public guide for BigQuery Web UI and Data Transfer Service.

Parameters
NameDescription
requestEnrollDataSourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

EnrollDataSources(EnrollDataSourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty EnrollDataSources(EnrollDataSourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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, and the documents can be found in the public guide for BigQuery Web UI and Data Transfer Service.

Parameters
NameDescription
requestEnrollDataSourcesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

EnrollDataSourcesAsync(EnrollDataSourcesRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> EnrollDataSourcesAsync(EnrollDataSourcesRequest request, CallOptions options)

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, and the documents can be found in the public guide for BigQuery Web UI and Data Transfer Service.

Parameters
NameDescription
requestEnrollDataSourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

EnrollDataSourcesAsync(EnrollDataSourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> EnrollDataSourcesAsync(EnrollDataSourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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, and the documents can be found in the public guide for BigQuery Web UI and Data Transfer Service.

Parameters
NameDescription
requestEnrollDataSourcesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

GetDataSource(GetDataSourceRequest, CallOptions)

public virtual DataSource GetDataSource(GetDataSourceRequest request, CallOptions options)

Retrieves a supported data source and returns its settings.

Parameters
NameDescription
requestGetDataSourceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DataSource

The response received from the server.

GetDataSource(GetDataSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DataSource GetDataSource(GetDataSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves a supported data source and returns its settings.

Parameters
NameDescription
requestGetDataSourceRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DataSource

The response received from the server.

GetDataSourceAsync(GetDataSourceRequest, CallOptions)

public virtual AsyncUnaryCall<DataSource> GetDataSourceAsync(GetDataSourceRequest request, CallOptions options)

Retrieves a supported data source and returns its settings.

Parameters
NameDescription
requestGetDataSourceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DataSource>

The call object.

GetDataSourceAsync(GetDataSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DataSource> GetDataSourceAsync(GetDataSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves a supported data source and returns its settings.

Parameters
NameDescription
requestGetDataSourceRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DataSource>

The call object.

GetTransferConfig(GetTransferConfigRequest, CallOptions)

public virtual TransferConfig GetTransferConfig(GetTransferConfigRequest request, CallOptions options)

Returns information about a data transfer config.

Parameters
NameDescription
requestGetTransferConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TransferConfig

The response received from the server.

GetTransferConfig(GetTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual TransferConfig GetTransferConfig(GetTransferConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns information about a data transfer config.

Parameters
NameDescription
requestGetTransferConfigRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TransferConfig

The response received from the server.

GetTransferConfigAsync(GetTransferConfigRequest, CallOptions)

public virtual AsyncUnaryCall<TransferConfig> GetTransferConfigAsync(GetTransferConfigRequest request, CallOptions options)

Returns information about a data transfer config.

Parameters
NameDescription
requestGetTransferConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TransferConfig>

The call object.

GetTransferConfigAsync(GetTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<TransferConfig> GetTransferConfigAsync(GetTransferConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns information about a data transfer config.

Parameters
NameDescription
requestGetTransferConfigRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<TransferConfig>

The call object.

GetTransferRun(GetTransferRunRequest, CallOptions)

public virtual TransferRun GetTransferRun(GetTransferRunRequest request, CallOptions options)

Returns information about the particular transfer run.

Parameters
NameDescription
requestGetTransferRunRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TransferRun

The response received from the server.

GetTransferRun(GetTransferRunRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual TransferRun GetTransferRun(GetTransferRunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns information about the particular transfer run.

Parameters
NameDescription
requestGetTransferRunRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TransferRun

The response received from the server.

GetTransferRunAsync(GetTransferRunRequest, CallOptions)

public virtual AsyncUnaryCall<TransferRun> GetTransferRunAsync(GetTransferRunRequest request, CallOptions options)

Returns information about the particular transfer run.

Parameters
NameDescription
requestGetTransferRunRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TransferRun>

The call object.

GetTransferRunAsync(GetTransferRunRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<TransferRun> GetTransferRunAsync(GetTransferRunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns information about the particular transfer run.

Parameters
NameDescription
requestGetTransferRunRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<TransferRun>

The call object.

ListDataSources(ListDataSourcesRequest, CallOptions)

public virtual ListDataSourcesResponse ListDataSources(ListDataSourcesRequest request, CallOptions options)

Lists supported data sources and returns their settings.

Parameters
NameDescription
requestListDataSourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDataSourcesResponse

The response received from the server.

ListDataSources(ListDataSourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListDataSourcesResponse ListDataSources(ListDataSourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists supported data sources and returns their settings.

Parameters
NameDescription
requestListDataSourcesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListDataSourcesResponse

The response received from the server.

ListDataSourcesAsync(ListDataSourcesRequest, CallOptions)

public virtual AsyncUnaryCall<ListDataSourcesResponse> ListDataSourcesAsync(ListDataSourcesRequest request, CallOptions options)

Lists supported data sources and returns their settings.

Parameters
NameDescription
requestListDataSourcesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListDataSourcesResponse>

The call object.

ListDataSourcesAsync(ListDataSourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListDataSourcesResponse> ListDataSourcesAsync(ListDataSourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists supported data sources and returns their settings.

Parameters
NameDescription
requestListDataSourcesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListDataSourcesResponse>

The call object.

ListTransferConfigs(ListTransferConfigsRequest, CallOptions)

public virtual ListTransferConfigsResponse ListTransferConfigs(ListTransferConfigsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListTransferConfigsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListTransferConfigsResponse

The response received from the server.

ListTransferConfigs(ListTransferConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListTransferConfigsResponse ListTransferConfigs(ListTransferConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestListTransferConfigsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListTransferConfigsResponse

The response received from the server.

ListTransferConfigsAsync(ListTransferConfigsRequest, CallOptions)

public virtual AsyncUnaryCall<ListTransferConfigsResponse> ListTransferConfigsAsync(ListTransferConfigsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListTransferConfigsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListTransferConfigsResponse>

The call object.

ListTransferConfigsAsync(ListTransferConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListTransferConfigsResponse> ListTransferConfigsAsync(ListTransferConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestListTransferConfigsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListTransferConfigsResponse>

The call object.

ListTransferLogs(ListTransferLogsRequest, CallOptions)

public virtual ListTransferLogsResponse ListTransferLogs(ListTransferLogsRequest request, CallOptions options)

Returns log messages for the transfer run.

Parameters
NameDescription
requestListTransferLogsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListTransferLogsResponse

The response received from the server.

ListTransferLogs(ListTransferLogsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListTransferLogsResponse ListTransferLogs(ListTransferLogsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns log messages for the transfer run.

Parameters
NameDescription
requestListTransferLogsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListTransferLogsResponse

The response received from the server.

ListTransferLogsAsync(ListTransferLogsRequest, CallOptions)

public virtual AsyncUnaryCall<ListTransferLogsResponse> ListTransferLogsAsync(ListTransferLogsRequest request, CallOptions options)

Returns log messages for the transfer run.

Parameters
NameDescription
requestListTransferLogsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListTransferLogsResponse>

The call object.

ListTransferLogsAsync(ListTransferLogsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListTransferLogsResponse> ListTransferLogsAsync(ListTransferLogsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns log messages for the transfer run.

Parameters
NameDescription
requestListTransferLogsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListTransferLogsResponse>

The call object.

ListTransferRuns(ListTransferRunsRequest, CallOptions)

public virtual ListTransferRunsResponse ListTransferRuns(ListTransferRunsRequest request, CallOptions options)

Returns information about running and completed transfer runs.

Parameters
NameDescription
requestListTransferRunsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListTransferRunsResponse

The response received from the server.

ListTransferRuns(ListTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListTransferRunsResponse ListTransferRuns(ListTransferRunsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns information about running and completed transfer runs.

Parameters
NameDescription
requestListTransferRunsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListTransferRunsResponse

The response received from the server.

ListTransferRunsAsync(ListTransferRunsRequest, CallOptions)

public virtual AsyncUnaryCall<ListTransferRunsResponse> ListTransferRunsAsync(ListTransferRunsRequest request, CallOptions options)

Returns information about running and completed transfer runs.

Parameters
NameDescription
requestListTransferRunsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListTransferRunsResponse>

The call object.

ListTransferRunsAsync(ListTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListTransferRunsResponse> ListTransferRunsAsync(ListTransferRunsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns information about running and completed transfer runs.

Parameters
NameDescription
requestListTransferRunsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListTransferRunsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override DataTransferService.DataTransferServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
DataTransferService.DataTransferServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.BigQuery.DataTransfer.V1.DataTransferService.DataTransferServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

ScheduleTransferRuns(ScheduleTransferRunsRequest, CallOptions)

public virtual ScheduleTransferRunsResponse ScheduleTransferRuns(ScheduleTransferRunsRequest request, CallOptions options)

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
NameDescription
requestScheduleTransferRunsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ScheduleTransferRunsResponse

The response received from the server.

ScheduleTransferRuns(ScheduleTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ScheduleTransferRunsResponse ScheduleTransferRuns(ScheduleTransferRunsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestScheduleTransferRunsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ScheduleTransferRunsResponse

The response received from the server.

ScheduleTransferRunsAsync(ScheduleTransferRunsRequest, CallOptions)

public virtual AsyncUnaryCall<ScheduleTransferRunsResponse> ScheduleTransferRunsAsync(ScheduleTransferRunsRequest request, CallOptions options)

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
NameDescription
requestScheduleTransferRunsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ScheduleTransferRunsResponse>

The call object.

ScheduleTransferRunsAsync(ScheduleTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ScheduleTransferRunsResponse> ScheduleTransferRunsAsync(ScheduleTransferRunsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestScheduleTransferRunsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ScheduleTransferRunsResponse>

The call object.

StartManualTransferRuns(StartManualTransferRunsRequest, CallOptions)

public virtual StartManualTransferRunsResponse StartManualTransferRuns(StartManualTransferRunsRequest request, CallOptions options)

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
NameDescription
requestStartManualTransferRunsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
StartManualTransferRunsResponse

The response received from the server.

StartManualTransferRuns(StartManualTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual StartManualTransferRunsResponse StartManualTransferRuns(StartManualTransferRunsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestStartManualTransferRunsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
StartManualTransferRunsResponse

The response received from the server.

StartManualTransferRunsAsync(StartManualTransferRunsRequest, CallOptions)

public virtual AsyncUnaryCall<StartManualTransferRunsResponse> StartManualTransferRunsAsync(StartManualTransferRunsRequest request, CallOptions options)

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
NameDescription
requestStartManualTransferRunsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<StartManualTransferRunsResponse>

The call object.

StartManualTransferRunsAsync(StartManualTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<StartManualTransferRunsResponse> StartManualTransferRunsAsync(StartManualTransferRunsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestStartManualTransferRunsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<StartManualTransferRunsResponse>

The call object.

UpdateTransferConfig(UpdateTransferConfigRequest, CallOptions)

public virtual TransferConfig UpdateTransferConfig(UpdateTransferConfigRequest request, CallOptions options)

Updates a data transfer configuration. All fields must be set, even if they are not updated.

Parameters
NameDescription
requestUpdateTransferConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TransferConfig

The response received from the server.

UpdateTransferConfig(UpdateTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual TransferConfig UpdateTransferConfig(UpdateTransferConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates a data transfer configuration. All fields must be set, even if they are not updated.

Parameters
NameDescription
requestUpdateTransferConfigRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TransferConfig

The response received from the server.

UpdateTransferConfigAsync(UpdateTransferConfigRequest, CallOptions)

public virtual AsyncUnaryCall<TransferConfig> UpdateTransferConfigAsync(UpdateTransferConfigRequest request, CallOptions options)

Updates a data transfer configuration. All fields must be set, even if they are not updated.

Parameters
NameDescription
requestUpdateTransferConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TransferConfig>

The call object.

UpdateTransferConfigAsync(UpdateTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<TransferConfig> UpdateTransferConfigAsync(UpdateTransferConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates a data transfer configuration. All fields must be set, even if they are not updated.

Parameters
NameDescription
requestUpdateTransferConfigRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<TransferConfig>

The call object.