Retail V2 API - Module Google::Cloud::Retail::V2::PredictionService::Paths (v0.19.0)

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

Path helper methods for the PredictionService API.

Methods

#product_path

def product_path(project:, location:, catalog:, branch:, product:) -> ::String

Create a fully-qualified Product resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/catalogs/{catalog}/branches/{branch}/products/{product}

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