Vector Search V1 API - Module Google::Cloud::VectorSearch::V1::DataObjectService::Paths (v0.1.0)

Reference documentation and code samples for the Vector Search V1 API module Google::Cloud::VectorSearch::V1::DataObjectService::Paths.

Path helper methods for the DataObjectService API.

Methods

#collection_path

def collection_path(project:, location:, collection:) -> ::String

Create a fully-qualified Collection resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}

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

#data_object_path

def data_object_path(project:, location:, collection:, data_object:) -> ::String

Create a fully-qualified DataObject resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}/dataObjects/{data_object}

Parameters
  • project (String)
  • location (String)
  • collection (String)
  • data_object (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)