Discovery Engine V1 API - Module Google::Cloud::DiscoveryEngine::V1::ConversationalSearchService::Paths (v0.3.0)

Reference documentation and code samples for the Discovery Engine V1 API module Google::Cloud::DiscoveryEngine::V1::ConversationalSearchService::Paths.

Path helper methods for the ConversationalSearchService API.

Methods

#conversation_path

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

Create a fully-qualified Conversation resource string.

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

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

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

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

Parameters
  • project (String)
  • location (String)
  • collection (String)
  • data_store (String)
  • conversation (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)

#serving_config_path

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

Create a fully-qualified ServingConfig resource string.

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

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

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

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

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