Cloud Database Migration Service V1 API - Module Google::Cloud::CloudDMS::V1::DataMigrationService::Paths (v0.1.5)

Reference documentation and code samples for the Cloud Database Migration Service V1 API module Google::Cloud::CloudDMS::V1::DataMigrationService::Paths.

Path helper methods for the DataMigrationService API.

Methods

#connection_profile_path

def connection_profile_path(project:, location:, connection_profile:) -> ::String

Create a fully-qualified ConnectionProfile resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/connectionProfiles/{connection_profile}

Parameters
  • project (String)
  • location (String)
  • connection_profile (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)

#migration_job_path

def migration_job_path(project:, location:, migration_job:) -> ::String

Create a fully-qualified MigrationJob resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/migrationJobs/{migration_job}

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