# Migrate for Compute Engine V1 API - Module Google::Cloud::VMMigration::V1::VMMigration::Paths (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 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.

## Extended By

- [Google::Cloud::VMMigration::V1::VMMigration::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-VMMigration-Paths)

## Included In

- [Google::Cloud::VMMigration::V1::VMMigration::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-VMMigration-Client)
- [Google::Cloud::VMMigration::V1::VMMigration::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-VMMigration-Paths)
- [Google::Cloud::VMMigration::V1::VMMigration::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-VMMigration-Rest-Client)

## 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:

<br />

`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)

### #crypto_key_path

    def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::String

Create a fully-qualified CryptoKey resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
**Parameters**

- **project** (String)
- **location** (String)
- **key_ring** (String)
- **crypto_key** (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:

<br />

`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:

<br />

`projects/{project}/locations/{location}/sources/{source}/datacenterConnectors/{datacenter_connector}`
**Parameters**

- **project** (String)
- **location** (String)
- **source** (String)
- **datacenter_connector** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #disk_migration_job_path

    def disk_migration_job_path(project:, location:, source:, disk_migration_job:) -> ::String

Create a fully-qualified DiskMigrationJob resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/sources/{source}/diskMigrationJobs/{disk_migration_job}`
**Parameters**

- **project** (String)
- **location** (String)
- **source** (String)
- **disk_migration_job** (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:

<br />

`projects/{project}/locations/{location}/groups/{group}`
**Parameters**

- **project** (String)
- **location** (String)
- **group** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #image_import_job_path

    def image_import_job_path(project:, location:, job:, result:) -> ::String

Create a fully-qualified ImageImportJob resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/imageImports/{job}/imageImportJobs/{result}`
**Parameters**

- **project** (String)
- **location** (String)
- **job** (String)
- **result** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #image_import_path

    def image_import_path(project:, location:, job:) -> ::String

Create a fully-qualified ImageImport resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/imageImports/{job}`
**Parameters**

- **project** (String)
- **location** (String)
- **job** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #image_path

    def image_path(project:, image:) -> ::String

Create a fully-qualified Image resource string.


The resource will be in the following format:

<br />

`projects/{project}/global/images/{image}`
**Parameters**

- **project** (String)
- **image** (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:

<br />

`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:

<br />

`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:

<br />

`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)

### #service_account_path

    def service_account_path(project:, service_account:) -> ::String

Create a fully-qualified ServiceAccount resource string.


The resource will be in the following format:

<br />

`projects/{project}/serviceAccounts/{service_account}`
**Parameters**

- **project** (String)
- **service_account** (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:

<br />

`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:

<br />

`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:

<br />

`projects/{project}/locations/{location}/sources/{source}/utilizationReports/{utilization_report}`
**Parameters**

- **project** (String)
- **location** (String)
- **source** (String)
- **utilization_report** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)