BigQuery Data Transfer Service V1 API - Class Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Rest::ServiceStub (v1.0.3)

Reference documentation and code samples for the BigQuery Data Transfer Service V1 API class Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Rest::ServiceStub.

REST service stub for the DataTransferService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#check_valid_creds

def check_valid_creds(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::CheckValidCredsResponse

Baseline implementation for the check_valid_creds REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_transfer_config

def create_transfer_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig

Baseline implementation for the create_transfer_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_transfer_config

def delete_transfer_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_transfer_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_transfer_run

def delete_transfer_run(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_transfer_run REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#enroll_data_sources

def enroll_data_sources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the enroll_data_sources REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_data_source

def get_data_source(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::DataSource

Baseline implementation for the get_data_source REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_transfer_config

def get_transfer_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig

Baseline implementation for the get_transfer_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_transfer_run

def get_transfer_run(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::TransferRun

Baseline implementation for the get_transfer_run REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_data_sources

def list_data_sources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::ListDataSourcesResponse

Baseline implementation for the list_data_sources REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_transfer_configs

def list_transfer_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::ListTransferConfigsResponse

Baseline implementation for the list_transfer_configs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_transfer_logs

def list_transfer_logs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::ListTransferLogsResponse

Baseline implementation for the list_transfer_logs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_transfer_runs

def list_transfer_runs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::ListTransferRunsResponse

Baseline implementation for the list_transfer_runs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#schedule_transfer_runs

def schedule_transfer_runs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::ScheduleTransferRunsResponse

Baseline implementation for the schedule_transfer_runs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#start_manual_transfer_runs

def start_manual_transfer_runs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsResponse

Baseline implementation for the start_manual_transfer_runs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#unenroll_data_sources

def unenroll_data_sources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the unenroll_data_sources REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_transfer_config

def update_transfer_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataTransfer::V1::TransferConfig

Baseline implementation for the update_transfer_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)