public class DataTransferServiceClient : ClientBase<DataTransferService.DataTransferServiceClient>
Client for DataTransferService
Inheritance
Object > ClientBase > ClientBase<DataTransferService.DataTransferServiceClient> > DataTransferService.DataTransferServiceClientNamespace
Google.Cloud.BigQuery.DataTransfer.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
DataTransferServiceClient(ChannelBase)
public DataTransferServiceClient(ChannelBase channel)
Creates a new client for DataTransferService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Name | Description |
request | CheckValidCredsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
CheckValidCredsResponse | The response received from the server. |
CheckValidCreds(CheckValidCredsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual CheckValidCredsResponse CheckValidCreds(CheckValidCredsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns true if valid credentials exist for the given data source and requesting user.
Parameters | |
---|---|
Name | Description |
request | CheckValidCredsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CheckValidCredsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<CheckValidCredsResponse> | The call object. |
CheckValidCredsAsync(CheckValidCredsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<CheckValidCredsResponse> CheckValidCredsAsync(CheckValidCredsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns true if valid credentials exist for the given data source and requesting user.
Parameters | |
---|---|
Name | Description |
request | CheckValidCredsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<CheckValidCredsResponse> | The call object. |
CreateTransferConfig(CreateTransferConfigRequest, CallOptions)
public virtual TransferConfig CreateTransferConfig(CreateTransferConfigRequest request, CallOptions options)
Creates a new data transfer configuration.
Parameters | |
---|---|
Name | Description |
request | CreateTransferConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TransferConfig | The response received from the server. |
CreateTransferConfig(CreateTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TransferConfig CreateTransferConfig(CreateTransferConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new data transfer configuration.
Parameters | |
---|---|
Name | Description |
request | CreateTransferConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateTransferConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TransferConfig> | The call object. |
CreateTransferConfigAsync(CreateTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TransferConfig> CreateTransferConfigAsync(CreateTransferConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new data transfer configuration.
Parameters | |
---|---|
Name | Description |
request | CreateTransferConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTransferConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteTransferConfig(DeleteTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteTransferConfig(DeleteTransferConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes a data transfer configuration, including any associated transfer runs and logs.
Parameters | |
---|---|
Name | Description |
request | DeleteTransferConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTransferConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteTransferConfigAsync(DeleteTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteTransferConfigAsync(DeleteTransferConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes a data transfer configuration, including any associated transfer runs and logs.
Parameters | |
---|---|
Name | Description |
request | DeleteTransferConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteTransferRun(DeleteTransferRunRequest, CallOptions)
public virtual Empty DeleteTransferRun(DeleteTransferRunRequest request, CallOptions options)
Deletes the specified transfer run.
Parameters | |
---|---|
Name | Description |
request | DeleteTransferRunRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteTransferRun(DeleteTransferRunRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteTransferRun(DeleteTransferRunRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified transfer run.
Parameters | |
---|---|
Name | Description |
request | DeleteTransferRunRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTransferRunRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteTransferRunAsync(DeleteTransferRunRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteTransferRunAsync(DeleteTransferRunRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified transfer run.
Parameters | |
---|---|
Name | Description |
request | DeleteTransferRunRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 '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 | |
---|---|
Name | Description |
request | EnrollDataSourcesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
EnrollDataSources(EnrollDataSourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty EnrollDataSources(EnrollDataSourcesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 '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 | |
---|---|
Name | Description |
request | EnrollDataSourcesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 '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 | |
---|---|
Name | Description |
request | EnrollDataSourcesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
EnrollDataSourcesAsync(EnrollDataSourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> EnrollDataSourcesAsync(EnrollDataSourcesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 '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 | |
---|---|
Name | Description |
request | EnrollDataSourcesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetDataSourceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
DataSource | The response received from the server. |
GetDataSource(GetDataSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual DataSource GetDataSource(GetDataSourceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves a supported data source and returns its settings.
Parameters | |
---|---|
Name | Description |
request | GetDataSourceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetDataSourceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<DataSource> | The call object. |
GetDataSourceAsync(GetDataSourceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<DataSource> GetDataSourceAsync(GetDataSourceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Retrieves a supported data source and returns its settings.
Parameters | |
---|---|
Name | Description |
request | GetDataSourceRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<DataSource> | The call object. |
GetTransferConfig(GetTransferConfigRequest, CallOptions)
public virtual TransferConfig GetTransferConfig(GetTransferConfigRequest request, CallOptions options)
Returns information about a data transfer config.
Parameters | |
---|---|
Name | Description |
request | GetTransferConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TransferConfig | The response received from the server. |
GetTransferConfig(GetTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TransferConfig GetTransferConfig(GetTransferConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about a data transfer config.
Parameters | |
---|---|
Name | Description |
request | GetTransferConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTransferConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TransferConfig> | The call object. |
GetTransferConfigAsync(GetTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TransferConfig> GetTransferConfigAsync(GetTransferConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about a data transfer config.
Parameters | |
---|---|
Name | Description |
request | GetTransferConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TransferConfig> | The call object. |
GetTransferRun(GetTransferRunRequest, CallOptions)
public virtual TransferRun GetTransferRun(GetTransferRunRequest request, CallOptions options)
Returns information about the particular transfer run.
Parameters | |
---|---|
Name | Description |
request | GetTransferRunRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TransferRun | The response received from the server. |
GetTransferRun(GetTransferRunRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TransferRun GetTransferRun(GetTransferRunRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about the particular transfer run.
Parameters | |
---|---|
Name | Description |
request | GetTransferRunRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTransferRunRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TransferRun> | The call object. |
GetTransferRunAsync(GetTransferRunRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TransferRun> GetTransferRunAsync(GetTransferRunRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about the particular transfer run.
Parameters | |
---|---|
Name | Description |
request | GetTransferRunRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListDataSourcesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListDataSourcesResponse | The response received from the server. |
ListDataSources(ListDataSourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListDataSourcesResponse ListDataSources(ListDataSourcesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists supported data sources and returns their settings.
Parameters | |
---|---|
Name | Description |
request | ListDataSourcesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListDataSourcesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListDataSourcesResponse> | The call object. |
ListDataSourcesAsync(ListDataSourcesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListDataSourcesResponse> ListDataSourcesAsync(ListDataSourcesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists supported data sources and returns their settings.
Parameters | |
---|---|
Name | Description |
request | ListDataSourcesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTransferConfigsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListTransferConfigsResponse | The response received from the server. |
ListTransferConfigs(ListTransferConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListTransferConfigsResponse ListTransferConfigs(ListTransferConfigsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about all transfer configs owned by a project in the specified location.
Parameters | |
---|---|
Name | Description |
request | ListTransferConfigsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTransferConfigsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListTransferConfigsResponse> | The call object. |
ListTransferConfigsAsync(ListTransferConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListTransferConfigsResponse> ListTransferConfigsAsync(ListTransferConfigsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about all transfer configs owned by a project in the specified location.
Parameters | |
---|---|
Name | Description |
request | ListTransferConfigsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListTransferConfigsResponse> | The call object. |
ListTransferLogs(ListTransferLogsRequest, CallOptions)
public virtual ListTransferLogsResponse ListTransferLogs(ListTransferLogsRequest request, CallOptions options)
Returns log messages for the transfer run.
Parameters | |
---|---|
Name | Description |
request | ListTransferLogsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListTransferLogsResponse | The response received from the server. |
ListTransferLogs(ListTransferLogsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListTransferLogsResponse ListTransferLogs(ListTransferLogsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns log messages for the transfer run.
Parameters | |
---|---|
Name | Description |
request | ListTransferLogsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTransferLogsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListTransferLogsResponse> | The call object. |
ListTransferLogsAsync(ListTransferLogsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListTransferLogsResponse> ListTransferLogsAsync(ListTransferLogsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns log messages for the transfer run.
Parameters | |
---|---|
Name | Description |
request | ListTransferLogsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTransferRunsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListTransferRunsResponse | The response received from the server. |
ListTransferRuns(ListTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListTransferRunsResponse ListTransferRuns(ListTransferRunsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about running and completed transfer runs.
Parameters | |
---|---|
Name | Description |
request | ListTransferRunsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTransferRunsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListTransferRunsResponse> | The call object. |
ListTransferRunsAsync(ListTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListTransferRunsResponse> ListTransferRunsAsync(ListTransferRunsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Returns information about running and completed transfer runs.
Parameters | |
---|---|
Name | Description |
request | ListTransferRunsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
DataTransferService.DataTransferServiceClient |
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 | |
---|---|
Name | Description |
request | ScheduleTransferRunsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ScheduleTransferRunsResponse | The response received from the server. |
ScheduleTransferRuns(ScheduleTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ScheduleTransferRunsResponse ScheduleTransferRuns(ScheduleTransferRunsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | |
---|---|
Name | Description |
request | ScheduleTransferRunsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ScheduleTransferRunsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScheduleTransferRunsResponse> | The call object. |
ScheduleTransferRunsAsync(ScheduleTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ScheduleTransferRunsResponse> ScheduleTransferRunsAsync(ScheduleTransferRunsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | |
---|---|
Name | Description |
request | ScheduleTransferRunsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | StartManualTransferRunsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
StartManualTransferRunsResponse | The response received from the server. |
StartManualTransferRuns(StartManualTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual StartManualTransferRunsResponse StartManualTransferRuns(StartManualTransferRunsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | |
---|---|
Name | Description |
request | StartManualTransferRunsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | StartManualTransferRunsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<StartManualTransferRunsResponse> | The call object. |
StartManualTransferRunsAsync(StartManualTransferRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<StartManualTransferRunsResponse> StartManualTransferRunsAsync(StartManualTransferRunsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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 | |
---|---|
Name | Description |
request | StartManualTransferRunsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateTransferConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TransferConfig | The response received from the server. |
UpdateTransferConfig(UpdateTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TransferConfig UpdateTransferConfig(UpdateTransferConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates a data transfer configuration. All fields must be set, even if they are not updated.
Parameters | |
---|---|
Name | Description |
request | UpdateTransferConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateTransferConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TransferConfig> | The call object. |
UpdateTransferConfigAsync(UpdateTransferConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TransferConfig> UpdateTransferConfigAsync(UpdateTransferConfigRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates a data transfer configuration. All fields must be set, even if they are not updated.
Parameters | |
---|---|
Name | Description |
request | UpdateTransferConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TransferConfig> | The call object. |