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

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)

#conversion_workspace_path

def conversion_workspace_path(project:, location:, conversion_workspace:) -> ::String

Create a fully-qualified ConversionWorkspace resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}

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

#mapping_rule_path

def mapping_rule_path(project:, location:, conversion_workspace:, mapping_rule:) -> ::String

Create a fully-qualified MappingRule resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}/mappingRules/{mapping_rule}

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

#networks_path

def networks_path(project:, network:) -> ::String

Create a fully-qualified Networks resource string.

The resource will be in the following format:

projects/{project}/global/networks/{network}

Parameters
  • project (String)
  • network (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#private_connection_path

def private_connection_path(project:, location:, private_connection:) -> ::String

Create a fully-qualified PrivateConnection resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/privateConnections/{private_connection}

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