Reference documentation and code samples for the Vision AI V1 API module Google::Cloud::VisionAI::V1::Warehouse::Paths.
Path helper methods for the Warehouse API.
Extended By
Methods
#annotation_path
def annotation_path(project_number:, location:, corpus:, asset:, annotation:) -> ::StringCreate a fully-qualified Annotation resource string.
The resource will be in the following format:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
- project_number (String)
 - location (String)
 - corpus (String)
 - asset (String)
 - annotation (String)
 
- (::String)
 
- (::ArgumentError)
 
#asset_path
def asset_path(project_number:, location:, corpus:, asset:) -> ::StringCreate a fully-qualified Asset resource string.
The resource will be in the following format:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}
- project_number (String)
 - location (String)
 - corpus (String)
 - asset (String)
 
- (::String)
 
- (::ArgumentError)
 
#collection_path
def collection_path(project_number:, location:, corpus:, collection:) -> ::StringCreate a fully-qualified Collection resource string.
The resource will be in the following format:
projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}
- project_number (String)
 - location (String)
 - corpus (String)
 - collection (String)
 
- (::String)
 
- (::ArgumentError)
 
#corpus_path
def corpus_path(project_number:, location:, corpus:) -> ::StringCreate a fully-qualified Corpus resource string.
The resource will be in the following format:
projects/{project_number}/locations/{location}/corpora/{corpus}
- project_number (String)
 - location (String)
 - corpus (String)
 
- (::String)
 
- (::ArgumentError)
 
#data_schema_path
def data_schema_path(project_number:, location:, corpus:, data_schema:) -> ::StringCreate a fully-qualified DataSchema resource string.
The resource will be in the following format:
projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}
- project_number (String)
 - location (String)
 - corpus (String)
 - data_schema (String)
 
- (::String)
 
- (::ArgumentError)
 
#index_endpoint_path
def index_endpoint_path(project:, location:, index_endpoint:) -> ::StringCreate a fully-qualified IndexEndpoint resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
- project (String)
 - location (String)
 - index_endpoint (String)
 
- (::String)
 
- (::ArgumentError)
 
#index_path
def index_path(project_number:, location:, corpus:, index:) -> ::StringCreate a fully-qualified Index resource string.
The resource will be in the following format:
projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}
- project_number (String)
 - location (String)
 - corpus (String)
 - index (String)
 
- (::String)
 
- (::ArgumentError)
 
#location_path
def location_path(project:, location:) -> ::StringCreate a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
 - location (String)
 
- (::String)
 
- (::ArgumentError)
 
#search_config_path
def search_config_path(project_number:, location:, corpus:, search_config:) -> ::StringCreate a fully-qualified SearchConfig resource string.
The resource will be in the following format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}
- project_number (String)
 - location (String)
 - corpus (String)
 - search_config (String)
 
- (::String)
 
- (::ArgumentError)
 
#search_hypernym_path
def search_hypernym_path(project_number:, location:, corpus:, search_hypernym:) -> ::StringCreate a fully-qualified SearchHypernym resource string.
The resource will be in the following format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}
- project_number (String)
 - location (String)
 - corpus (String)
 - search_hypernym (String)
 
- (::String)
 
- (::ArgumentError)