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
- request_pb (::Google::Cloud::Bigquery::Migration::V2::CreateMigrationWorkflowRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Migration::V2::MigrationWorkflow)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Migration::V2::MigrationWorkflow) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::Migration::V2::DeleteMigrationWorkflowRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- request_pb (::Google::Cloud::Bigquery::Migration::V2::GetMigrationSubtaskRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Migration::V2::MigrationSubtask)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Migration::V2::MigrationSubtask) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::Migration::V2::GetMigrationWorkflowRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Migration::V2::MigrationWorkflow)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Migration::V2::MigrationWorkflow) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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
- request_pb (::Google::Cloud::Bigquery::Migration::V2::ListMigrationSubtasksRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Migration::V2::ListMigrationSubtasksResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Migration::V2::ListMigrationSubtasksResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::Migration::V2::ListMigrationWorkflowsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Migration::V2::ListMigrationWorkflowsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Migration::V2::ListMigrationWorkflowsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::Migration::V2::StartMigrationWorkflowRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)