Migrate for Compute Engine V1 API - Module Google::Cloud::VMMigration::V1::VMMigration::Paths (v0.8.2)

Reference documentation and code samples for the Migrate for Compute Engine V1 API module Google::Cloud::VMMigration::V1::VMMigration::Paths.

Path helper methods for the VmMigration API.

Methods

#clone_job_path

def clone_job_path(project:, location:, source:, migrating_vm:, clone_job:) -> ::String

Create a fully-qualified CloneJob resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}/cloneJobs/{clone_job}

Parameters
  • project (String)
  • location (String)
  • source (String)
  • migrating_vm (String)
  • clone_job (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#cutover_job_path

def cutover_job_path(project:, location:, source:, migrating_vm:, cutover_job:) -> ::String

Create a fully-qualified CutoverJob resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}/cutoverJobs/{cutover_job}

Parameters
  • project (String)
  • location (String)
  • source (String)
  • migrating_vm (String)
  • cutover_job (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#datacenter_connector_path

def datacenter_connector_path(project:, location:, source:, datacenter_connector:) -> ::String

Create a fully-qualified DatacenterConnector resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sources/{source}/datacenterConnectors/{datacenter_connector}

Parameters
  • project (String)
  • location (String)
  • source (String)
  • datacenter_connector (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#group_path

def group_path(project:, location:, group:) -> ::String

Create a fully-qualified Group resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/groups/{group}

Parameters
  • project (String)
  • location (String)
  • group (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#migrating_vm_path

def migrating_vm_path(project:, location:, source:, migrating_vm:) -> ::String

Create a fully-qualified MigratingVm resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}

Parameters
  • project (String)
  • location (String)
  • source (String)
  • migrating_vm (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#replication_cycle_path

def replication_cycle_path(project:, location:, source:, migrating_vm:, replication_cycle:) -> ::String

Create a fully-qualified ReplicationCycle resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}/replicationCycles/{replication_cycle}

Parameters
  • project (String)
  • location (String)
  • source (String)
  • migrating_vm (String)
  • replication_cycle (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#source_path

def source_path(project:, location:, source:) -> ::String

Create a fully-qualified Source resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sources/{source}

Parameters
  • project (String)
  • location (String)
  • source (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#target_project_path

def target_project_path(project:, location:, target_project:) -> ::String

Create a fully-qualified TargetProject resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/targetProjects/{target_project}

Parameters
  • project (String)
  • location (String)
  • target_project (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#utilization_report_path

def utilization_report_path(project:, location:, source:, utilization_report:) -> ::String

Create a fully-qualified UtilizationReport resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sources/{source}/utilizationReports/{utilization_report}

Parameters
  • project (String)
  • location (String)
  • source (String)
  • utilization_report (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)