Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::VMMigration::Rest::ServiceStub.
REST service stub for the VmMigration service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#add_group_migration
def add_group_migration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the add_group_migration REST call
- request_pb (::Google::Cloud::VMMigration::V1::AddGroupMigrationRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#cancel_clone_job
def cancel_clone_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the cancel_clone_job REST call
- request_pb (::Google::Cloud::VMMigration::V1::CancelCloneJobRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#cancel_cutover_job
def cancel_cutover_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the cancel_cutover_job REST call
- request_pb (::Google::Cloud::VMMigration::V1::CancelCutoverJobRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_clone_job
def create_clone_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_clone_job REST call
- request_pb (::Google::Cloud::VMMigration::V1::CreateCloneJobRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_cutover_job
def create_cutover_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_cutover_job REST call
- request_pb (::Google::Cloud::VMMigration::V1::CreateCutoverJobRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_datacenter_connector
def create_datacenter_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_datacenter_connector REST call
- request_pb (::Google::Cloud::VMMigration::V1::CreateDatacenterConnectorRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_group
def create_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_group REST call
- request_pb (::Google::Cloud::VMMigration::V1::CreateGroupRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_migrating_vm
def create_migrating_vm(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_migrating_vm REST call
- request_pb (::Google::Cloud::VMMigration::V1::CreateMigratingVmRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_source
def create_source(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_source REST call
- request_pb (::Google::Cloud::VMMigration::V1::CreateSourceRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_target_project
def create_target_project(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_target_project REST call
- request_pb (::Google::Cloud::VMMigration::V1::CreateTargetProjectRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_utilization_report
def create_utilization_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_utilization_report REST call
- request_pb (::Google::Cloud::VMMigration::V1::CreateUtilizationReportRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_datacenter_connector
def delete_datacenter_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_datacenter_connector REST call
- request_pb (::Google::Cloud::VMMigration::V1::DeleteDatacenterConnectorRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_group
def delete_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_group REST call
- request_pb (::Google::Cloud::VMMigration::V1::DeleteGroupRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_migrating_vm
def delete_migrating_vm(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_migrating_vm REST call
- request_pb (::Google::Cloud::VMMigration::V1::DeleteMigratingVmRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_source
def delete_source(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_source REST call
- request_pb (::Google::Cloud::VMMigration::V1::DeleteSourceRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_target_project
def delete_target_project(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_target_project REST call
- request_pb (::Google::Cloud::VMMigration::V1::DeleteTargetProjectRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_utilization_report
def delete_utilization_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_utilization_report REST call
- request_pb (::Google::Cloud::VMMigration::V1::DeleteUtilizationReportRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#fetch_inventory
def fetch_inventory(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::FetchInventoryResponse
Baseline implementation for the fetch_inventory REST call
- request_pb (::Google::Cloud::VMMigration::V1::FetchInventoryRequest) — 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::VMMigration::V1::FetchInventoryResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::FetchInventoryResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#finalize_migration
def finalize_migration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the finalize_migration REST call
- request_pb (::Google::Cloud::VMMigration::V1::FinalizeMigrationRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_clone_job
def get_clone_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::CloneJob
Baseline implementation for the get_clone_job REST call
- request_pb (::Google::Cloud::VMMigration::V1::GetCloneJobRequest) — 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::VMMigration::V1::CloneJob)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::CloneJob) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_cutover_job
def get_cutover_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::CutoverJob
Baseline implementation for the get_cutover_job REST call
- request_pb (::Google::Cloud::VMMigration::V1::GetCutoverJobRequest) — 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::VMMigration::V1::CutoverJob)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::CutoverJob) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_datacenter_connector
def get_datacenter_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::DatacenterConnector
Baseline implementation for the get_datacenter_connector REST call
- request_pb (::Google::Cloud::VMMigration::V1::GetDatacenterConnectorRequest) — 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::VMMigration::V1::DatacenterConnector)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::DatacenterConnector) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_group
def get_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::Group
Baseline implementation for the get_group REST call
- request_pb (::Google::Cloud::VMMigration::V1::GetGroupRequest) — 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::VMMigration::V1::Group)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::Group) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_migrating_vm
def get_migrating_vm(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::MigratingVm
Baseline implementation for the get_migrating_vm REST call
- request_pb (::Google::Cloud::VMMigration::V1::GetMigratingVmRequest) — 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::VMMigration::V1::MigratingVm)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::MigratingVm) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_replication_cycle
def get_replication_cycle(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::ReplicationCycle
Baseline implementation for the get_replication_cycle REST call
- request_pb (::Google::Cloud::VMMigration::V1::GetReplicationCycleRequest) — 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::VMMigration::V1::ReplicationCycle)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::ReplicationCycle) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_source
def get_source(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::Source
Baseline implementation for the get_source REST call
- request_pb (::Google::Cloud::VMMigration::V1::GetSourceRequest) — 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::VMMigration::V1::Source)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::Source) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_target_project
def get_target_project(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::TargetProject
Baseline implementation for the get_target_project REST call
- request_pb (::Google::Cloud::VMMigration::V1::GetTargetProjectRequest) — 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::VMMigration::V1::TargetProject)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::TargetProject) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_utilization_report
def get_utilization_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::UtilizationReport
Baseline implementation for the get_utilization_report REST call
- request_pb (::Google::Cloud::VMMigration::V1::GetUtilizationReportRequest) — 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::VMMigration::V1::UtilizationReport)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::UtilizationReport) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_clone_jobs
def list_clone_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::ListCloneJobsResponse
Baseline implementation for the list_clone_jobs REST call
- request_pb (::Google::Cloud::VMMigration::V1::ListCloneJobsRequest) — 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::VMMigration::V1::ListCloneJobsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::ListCloneJobsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_cutover_jobs
def list_cutover_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::ListCutoverJobsResponse
Baseline implementation for the list_cutover_jobs REST call
- request_pb (::Google::Cloud::VMMigration::V1::ListCutoverJobsRequest) — 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::VMMigration::V1::ListCutoverJobsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::ListCutoverJobsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_datacenter_connectors
def list_datacenter_connectors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::ListDatacenterConnectorsResponse
Baseline implementation for the list_datacenter_connectors REST call
- request_pb (::Google::Cloud::VMMigration::V1::ListDatacenterConnectorsRequest) — 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::VMMigration::V1::ListDatacenterConnectorsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::ListDatacenterConnectorsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_groups
def list_groups(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::ListGroupsResponse
Baseline implementation for the list_groups REST call
- request_pb (::Google::Cloud::VMMigration::V1::ListGroupsRequest) — 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::VMMigration::V1::ListGroupsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::ListGroupsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_migrating_vms
def list_migrating_vms(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::ListMigratingVmsResponse
Baseline implementation for the list_migrating_vms REST call
- request_pb (::Google::Cloud::VMMigration::V1::ListMigratingVmsRequest) — 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::VMMigration::V1::ListMigratingVmsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::ListMigratingVmsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_replication_cycles
def list_replication_cycles(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::ListReplicationCyclesResponse
Baseline implementation for the list_replication_cycles REST call
- request_pb (::Google::Cloud::VMMigration::V1::ListReplicationCyclesRequest) — 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::VMMigration::V1::ListReplicationCyclesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::ListReplicationCyclesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_sources
def list_sources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::ListSourcesResponse
Baseline implementation for the list_sources REST call
- request_pb (::Google::Cloud::VMMigration::V1::ListSourcesRequest) — 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::VMMigration::V1::ListSourcesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::ListSourcesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_target_projects
def list_target_projects(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::ListTargetProjectsResponse
Baseline implementation for the list_target_projects REST call
- request_pb (::Google::Cloud::VMMigration::V1::ListTargetProjectsRequest) — 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::VMMigration::V1::ListTargetProjectsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::ListTargetProjectsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_utilization_reports
def list_utilization_reports(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VMMigration::V1::ListUtilizationReportsResponse
Baseline implementation for the list_utilization_reports REST call
- request_pb (::Google::Cloud::VMMigration::V1::ListUtilizationReportsRequest) — 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::VMMigration::V1::ListUtilizationReportsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VMMigration::V1::ListUtilizationReportsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#pause_migration
def pause_migration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the pause_migration REST call
- request_pb (::Google::Cloud::VMMigration::V1::PauseMigrationRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#remove_group_migration
def remove_group_migration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the remove_group_migration REST call
- request_pb (::Google::Cloud::VMMigration::V1::RemoveGroupMigrationRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#resume_migration
def resume_migration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the resume_migration REST call
- request_pb (::Google::Cloud::VMMigration::V1::ResumeMigrationRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#start_migration
def start_migration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the start_migration REST call
- request_pb (::Google::Cloud::VMMigration::V1::StartMigrationRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_group
def update_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_group REST call
- request_pb (::Google::Cloud::VMMigration::V1::UpdateGroupRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_migrating_vm
def update_migrating_vm(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_migrating_vm REST call
- request_pb (::Google::Cloud::VMMigration::V1::UpdateMigratingVmRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_source
def update_source(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_source REST call
- request_pb (::Google::Cloud::VMMigration::V1::UpdateSourceRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_target_project
def update_target_project(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_target_project REST call
- request_pb (::Google::Cloud::VMMigration::V1::UpdateTargetProjectRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#upgrade_appliance
def upgrade_appliance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the upgrade_appliance REST call
- request_pb (::Google::Cloud::VMMigration::V1::UpgradeApplianceRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)