Retail V2 API - Module Google::Cloud::Retail::V2::CatalogService::Paths (v0.19.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

#attributes_config_path

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

Create a fully-qualified AttributesConfig resource string.

The resource will be in the following format:

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

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

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

#completion_config_path

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

Create a fully-qualified CompletionConfig resource string.

The resource will be in the following format:

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

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)