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