Discovery Engine V1BETA API - Module Google::Cloud::DiscoveryEngine::V1beta::CompletionService::Paths (v0.17.0)

Reference documentation and code samples for the Discovery Engine V1BETA API module Google::Cloud::DiscoveryEngine::V1beta::CompletionService::Paths.

Path helper methods for the CompletionService API.

Methods

#completion_config_path

def completion_config_path(project:, location:, data_store:) -> ::String
def completion_config_path(project:, location:, collection:, data_store:) -> ::String
def completion_config_path(project:, location:, collection:, engine:) -> ::String

Create a fully-qualified CompletionConfig resource string.

Overloads
def completion_config_path(project:, location:, data_store:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/dataStores/{data_store}/completionConfig

Parameters
  • project (String)
  • location (String)
  • data_store (String)
def completion_config_path(project:, location:, collection:, data_store:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/completionConfig

Parameters
  • project (String)
  • location (String)
  • collection (String)
  • data_store (String)
def completion_config_path(project:, location:, collection:, engine:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/completionConfig

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

#data_store_path

def data_store_path(project:, location:, data_store:) -> ::String
def data_store_path(project:, location:, collection:, data_store:) -> ::String

Create a fully-qualified DataStore resource string.

Overloads
def data_store_path(project:, location:, data_store:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/dataStores/{data_store}

Parameters
  • project (String)
  • location (String)
  • data_store (String)
def data_store_path(project:, location:, collection:, data_store:) -> ::String
The resource will be in the following format:

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

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