Migrate for Compute Engine V1 API - Module Google::Cloud::VMMigration::V1::VMMigration::Paths (v2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Migrate for Compute Engine V1 API - Module Google::Cloud::VMMigration::V1::VMMigration::Paths (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [2.1.1](/ruby/docs/reference/google-cloud-vm_migration-v1/2.1.1/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [2.0.0](/ruby/docs/reference/google-cloud-vm_migration-v1/2.0.0/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [1.3.0](/ruby/docs/reference/google-cloud-vm_migration-v1/1.3.0/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [1.2.0](/ruby/docs/reference/google-cloud-vm_migration-v1/1.2.0/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [1.1.0](/ruby/docs/reference/google-cloud-vm_migration-v1/1.1.0/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [1.0.2](/ruby/docs/reference/google-cloud-vm_migration-v1/1.0.2/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [0.9.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.9.0/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [0.8.2](/ruby/docs/reference/google-cloud-vm_migration-v1/0.8.2/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [0.7.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.7.0/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [0.6.1](/ruby/docs/reference/google-cloud-vm_migration-v1/0.6.1/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [0.5.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.5.0/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [0.4.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.4.0/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [0.3.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.3.0/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [0.2.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.2.0/Google-Cloud-VMMigration-V1-VMMigration-Paths)\n- [0.1.1](/ruby/docs/reference/google-cloud-vm_migration-v1/0.1.1/Google-Cloud-VMMigration-V1-VMMigration-Paths) \nReference documentation and code samples for the Migrate for Compute Engine V1 API module Google::Cloud::VMMigration::V1::VMMigration::Paths.\n\nPath helper methods for the VmMigration API. \n\nExtended By\n-----------\n\n- [Google::Cloud::VMMigration::V1::VMMigration::Paths](./Google-Cloud-VMMigration-V1-VMMigration-Paths)\n\nMethods\n-------\n\n### #clone_job_path\n\n def clone_job_path(project:, location:, source:, migrating_vm:, clone_job:) -\u003e ::String\n\nCreate a fully-qualified CloneJob resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}/cloneJobs/{clone_job}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **source** (String)\n- **migrating_vm** (String)\n- **clone_job** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #cutover_job_path\n\n def cutover_job_path(project:, location:, source:, migrating_vm:, cutover_job:) -\u003e ::String\n\nCreate a fully-qualified CutoverJob resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}/cutoverJobs/{cutover_job}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **source** (String)\n- **migrating_vm** (String)\n- **cutover_job** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #datacenter_connector_path\n\n def datacenter_connector_path(project:, location:, source:, datacenter_connector:) -\u003e ::String\n\nCreate a fully-qualified DatacenterConnector resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/sources/{source}/datacenterConnectors/{datacenter_connector}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **source** (String)\n- **datacenter_connector** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #group_path\n\n def group_path(project:, location:, group:) -\u003e ::String\n\nCreate a fully-qualified Group resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/groups/{group}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **group** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #location_path\n\n def location_path(project:, location:) -\u003e ::String\n\nCreate a fully-qualified Location resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}` \n**Parameters**\n\n- **project** (String)\n- **location** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #migrating_vm_path\n\n def migrating_vm_path(project:, location:, source:, migrating_vm:) -\u003e ::String\n\nCreate a fully-qualified MigratingVm resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **source** (String)\n- **migrating_vm** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #replication_cycle_path\n\n def replication_cycle_path(project:, location:, source:, migrating_vm:, replication_cycle:) -\u003e ::String\n\nCreate a fully-qualified ReplicationCycle resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}/replicationCycles/{replication_cycle}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **source** (String)\n- **migrating_vm** (String)\n- **replication_cycle** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #source_path\n\n def source_path(project:, location:, source:) -\u003e ::String\n\nCreate a fully-qualified Source resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/sources/{source}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **source** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #target_project_path\n\n def target_project_path(project:, location:, target_project:) -\u003e ::String\n\nCreate a fully-qualified TargetProject resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/targetProjects/{target_project}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **target_project** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #utilization_report_path\n\n def utilization_report_path(project:, location:, source:, utilization_report:) -\u003e ::String\n\nCreate a fully-qualified UtilizationReport resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/sources/{source}/utilizationReports/{utilization_report}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **source** (String)\n- **utilization_report** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)"]]