Path helper methods for the ProductService API.
Extended By
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)
#product_path
def product_path(project:, location:, catalog:, branch:, product:) -> ::String
Create a fully-qualified Product resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/catalogs/{catalog}/branches/{branch}/products/{product}
Parameters
- project (String)
- location (String)
- catalog (String)
- branch (String)
- product (String)
Returns
- (::String)
Raises
- (::ArgumentError)