Reference documentation and code samples for the Cloud Vision V1p3beta1 API module Google::Cloud::Vision::V1p3beta1::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}
- project (String)
- location (String)
- (::String)
- (::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}
- project (String)
- location (String)
- product (String)
- (::String)
- (::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}
- project (String)
- location (String)
- product_set (String)
- (::String)
- (::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}
- project (String)
- location (String)
- product (String)
- reference_image (String)
- (::String)
- (::ArgumentError)