Rapid Migration Assessment V1 API - Module Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Paths (v0.4.0)

Reference documentation and code samples for the Rapid Migration Assessment V1 API module Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Paths.

Path helper methods for the RapidMigrationAssessment API.

Methods

#annotation_path

def annotation_path(project:, location:, annotation:) -> ::String

Create a fully-qualified Annotation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/annotations/{annotation}

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

#collector_path

def collector_path(project:, location:, collector:) -> ::String

Create a fully-qualified Collector resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/collectors/{collector}

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