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}
- project (String)
- location (String)
- source (String)
- migrating_vm (String)
- clone_job (String)
- (::String)
- (::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:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
- project (String)
- location (String)
- key_ring (String)
- crypto_key (String)
- (::String)
- (::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}
- project (String)
- location (String)
- source (String)
- migrating_vm (String)
- cutover_job (String)
- (::String)
- (::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}
- project (String)
- location (String)
- source (String)
- datacenter_connector (String)
- (::String)
- (::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:
projects/{project}/locations/{location}/sources/{source}/diskMigrationJobs/{disk_migration_job}
- project (String)
- location (String)
- source (String)
- disk_migration_job (String)
- (::String)
- (::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}
- project (String)
- location (String)
- group (String)
- (::String)
- (::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:
projects/{project}/locations/{location}/imageImports/{job}/imageImportJobs/{result}
- project (String)
- location (String)
- job (String)
- result (String)
- (::String)
- (::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:
projects/{project}/locations/{location}/imageImports/{job}
- project (String)
- location (String)
- job (String)
- (::String)
- (::ArgumentError)
#image_path
def image_path(project:, image:) -> ::String
Create a fully-qualified Image resource string.
The resource will be in the following format:
projects/{project}/global/images/{image}
- project (String)
- image (String)
- (::String)
- (::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}
- project (String)
- location (String)
- (::String)
- (::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}
- project (String)
- location (String)
- source (String)
- migrating_vm (String)
- (::String)
- (::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}
- project (String)
- location (String)
- source (String)
- migrating_vm (String)
- replication_cycle (String)
- (::String)
- (::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:
projects/{project}/serviceAccounts/{service_account}
- project (String)
- service_account (String)
- (::String)
- (::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}
- project (String)
- location (String)
- source (String)
- (::String)
- (::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}
- project (String)
- location (String)
- target_project (String)
- (::String)
- (::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}
- project (String)
- location (String)
- source (String)
- utilization_report (String)
- (::String)
- (::ArgumentError)