BigQuery Migration V2 API - Class Google::Cloud::Bigquery::Migration::V2::MigrationService::Rest::ServiceStub (v0.11.1)

Reference documentation and code samples for the BigQuery Migration V2 API class Google::Cloud::Bigquery::Migration::V2::MigrationService::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_migration_workflow

def create_migration_workflow(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Migration::V2::MigrationWorkflow

Baseline implementation for the create_migration_workflow REST call

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

#delete_migration_workflow

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

Baseline implementation for the delete_migration_workflow 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)

#get_migration_subtask

def get_migration_subtask(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Migration::V2::MigrationSubtask

Baseline implementation for the get_migration_subtask REST call

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

#get_migration_workflow

def get_migration_workflow(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Migration::V2::MigrationWorkflow

Baseline implementation for the get_migration_workflow 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_migration_subtasks

def list_migration_subtasks(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Migration::V2::ListMigrationSubtasksResponse

Baseline implementation for the list_migration_subtasks REST call

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

#list_migration_workflows

def list_migration_workflows(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Migration::V2::ListMigrationWorkflowsResponse

Baseline implementation for the list_migration_workflows REST call

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

#start_migration_workflow

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

Baseline implementation for the start_migration_workflow 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)