Reference documentation and code samples for the Vector Search V1 API module Google::Cloud::VectorSearch::V1::VectorSearchService::Paths.
Path helper methods for the VectorSearchService API.
Included In
Methods
#collection_path
def collection_path(project:, location:, collection:) -> ::StringCreate a fully-qualified Collection resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/collections/{collection}
- project (String)
- location (String)
- collection (String)
- (::String)
- (::ArgumentError)
#crypto_key_path
def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::StringCreate a fully-qualified CryptoKey resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
- project (String)
- location (String)
- key_ring (String)
- crypto_key (String)
- (::String)
- (::ArgumentError)
#index_path
def index_path(project:, location:, collection:, index:) -> ::StringCreate a fully-qualified Index resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/collections/{collection}/indexes/{index}
- project (String)
- location (String)
- collection (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)