Cloud Vision V1p4beta1 API - Module Google::Cloud::Vision::V1p4beta1::ProductSearch::Paths (v0.5.1)

Reference documentation and code samples for the Cloud Vision V1p4beta1 API module Google::Cloud::Vision::V1p4beta1::ProductSearch::Paths.

Path helper methods for the ProductSearch API.

Methods

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

#product_path

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

Create a fully-qualified Product resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/products/{product}

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

#product_set_path

def product_set_path(project:, location:, product_set:) -> ::String

Create a fully-qualified ProductSet resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/productSets/{product_set}

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

#reference_image_path

def reference_image_path(project:, location:, product:, reference_image:) -> ::String

Create a fully-qualified ReferenceImage resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}

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