Retail V2 API - Module Google::Cloud::Retail::V2::ServingConfigService::Paths (v0.17.0)

Reference documentation and code samples for the Retail V2 API module Google::Cloud::Retail::V2::ServingConfigService::Paths.

Path helper methods for the ServingConfigService API.

Methods

#catalog_path

def catalog_path(project:, location:, catalog:) -> ::String

Create a fully-qualified Catalog resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/catalogs/{catalog}

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

#serving_config_path

def serving_config_path(project:, location:, catalog:, serving_config:) -> ::String

Create a fully-qualified ServingConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/catalogs/{catalog}/servingConfigs/{serving_config}

Parameters
  • project (String)
  • location (String)
  • catalog (String)
  • serving_config (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)