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

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

Path helper methods for the ControlService 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)

#control_path

def control_path(project:, location:, catalog:, control:) -> ::String

Create a fully-qualified Control resource string.

The resource will be in the following format:

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

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