Migration Center V1 API - Module Google::Cloud::MigrationCenter::V1::MigrationCenter::Paths (v0.3.0)

Reference documentation and code samples for the Migration Center V1 API module Google::Cloud::MigrationCenter::V1::MigrationCenter::Paths.

Path helper methods for the MigrationCenter API.

Methods

#asset_path

def asset_path(project:, location:, asset:) -> ::String

Create a fully-qualified Asset resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/assets/{asset}

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

#error_frame_path

def error_frame_path(project:, location:, source:, error_frame:) -> ::String

Create a fully-qualified ErrorFrame resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame}

Parameters
  • project (String)
  • location (String)
  • source (String)
  • error_frame (String)
Returns
  • (::String)
Raises
  • (::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}

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

#import_data_file_path

def import_data_file_path(project:, location:, import_job:, import_data_file:) -> ::String

Create a fully-qualified ImportDataFile resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/importJobs/{import_job}/importDataFiles/{import_data_file}

Parameters
  • project (String)
  • location (String)
  • import_job (String)
  • import_data_file (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#import_job_path

def import_job_path(project:, location:, import_job:) -> ::String

Create a fully-qualified ImportJob resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/importJobs/{import_job}

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

#preference_set_path

def preference_set_path(project:, location:, preference_set:) -> ::String

Create a fully-qualified PreferenceSet resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/preferenceSets/{preference_set}

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

#report_config_path

def report_config_path(project:, location:, report_config:) -> ::String

Create a fully-qualified ReportConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/reportConfigs/{report_config}

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

#report_path

def report_path(project:, location:, report_config:, report:) -> ::String

Create a fully-qualified Report resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/reportConfigs/{report_config}/reports/{report}

Parameters
  • project (String)
  • location (String)
  • report_config (String)
  • report (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#settings_path

def settings_path(project:, location:) -> ::String

Create a fully-qualified Settings resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/settings

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::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}

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