Retail V2 API - Module Google::Cloud::Retail::V2::CatalogService::Paths (v0.8.0)

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

Path helper methods for the CatalogService API.

Methods

#branch_path

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

Create a fully-qualified Branch resource string.

The resource will be in the following format:

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

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

#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)

#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)