# Discovery Engine V1 API - Module Google::Cloud::DiscoveryEngine::V1::ConversationalSearchService::Paths (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.2 2.5.0 2.4.0 2.3.1 2.2.0 2.1.1 2.0.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.2 0.3.0 0.2.0 0.1.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.

## Extended By

- [Google::Cloud::DiscoveryEngine::V1::ConversationalSearchService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ConversationalSearchService-Paths)

## Included In

- [Google::Cloud::DiscoveryEngine::V1::ConversationalSearchService::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ConversationalSearchService-Client)
- [Google::Cloud::DiscoveryEngine::V1::ConversationalSearchService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ConversationalSearchService-Paths)
- [Google::Cloud::DiscoveryEngine::V1::ConversationalSearchService::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-ConversationalSearchService-Rest-Client)

## Methods

### #answer_path

    def answer_path(project:, location:, data_store:, session:, answer:) -> ::String
    def answer_path(project:, location:, collection:, data_store:, session:, answer:) -> ::String
    def answer_path(project:, location:, collection:, engine:, session:, answer:) -> ::String

Create a fully-qualified Answer resource string.
**Overloads**

    def answer_path(project:, location:, data_store:, session:, answer:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}`
**Parameters**

- **project** (String)
- **location** (String)
- **data_store** (String)
- **session** (String)
- **answer** (String)

    def answer_path(project:, location:, collection:, data_store:, session:, answer:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}`
**Parameters**

- **project** (String)
- **location** (String)
- **collection** (String)
- **data_store** (String)
- **session** (String)
- **answer** (String)

    def answer_path(project:, location:, collection:, engine:, session:, answer:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}`
**Parameters**

- **project** (String)
- **location** (String)
- **collection** (String)
- **engine** (String)
- **session** (String)
- **answer** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #assist_answer_path

    def assist_answer_path(project:, location:, collection:, engine:, session:, assist_answer:) -> ::String

Create a fully-qualified AssistAnswer resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}`
**Parameters**

- **project** (String)
- **location** (String)
- **collection** (String)
- **engine** (String)
- **session** (String)
- **assist_answer** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #chunk_path

    def chunk_path(project:, location:, data_store:, branch:, document:, chunk:) -> ::String
    def chunk_path(project:, location:, collection:, data_store:, branch:, document:, chunk:) -> ::String

Create a fully-qualified Chunk resource string.
**Overloads**

    def chunk_path(project:, location:, data_store:, branch:, document:, chunk:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}`
**Parameters**

- **project** (String)
- **location** (String)
- **data_store** (String)
- **branch** (String)
- **document** (String)
- **chunk** (String)

    def chunk_path(project:, location:, collection:, data_store:, branch:, document:, chunk:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}`
**Parameters**

- **project** (String)
- **location** (String)
- **collection** (String)
- **data_store** (String)
- **branch** (String)
- **document** (String)
- **chunk** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #conversation_path

    def conversation_path(project:, location:, data_store:, conversation:) -> ::String
    def conversation_path(project:, location:, collection:, data_store:, conversation:) -> ::String
    def conversation_path(project:, location:, collection:, engine:, 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)

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

The resource will be in the following format:


`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}`
**Parameters**

- **project** (String)
- **location** (String)
- **collection** (String)
- **engine** (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)

### #document_path

    def document_path(project:, location:, data_store:, branch:, document:) -> ::String
    def document_path(project:, location:, collection:, data_store:, branch:, document:) -> ::String

Create a fully-qualified Document resource string.
**Overloads**

    def document_path(project:, location:, data_store:, branch:, document:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}`
**Parameters**

- **project** (String)
- **location** (String)
- **data_store** (String)
- **branch** (String)
- **document** (String)

    def document_path(project:, location:, collection:, data_store:, branch:, document:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`
**Parameters**

- **project** (String)
- **location** (String)
- **collection** (String)
- **data_store** (String)
- **branch** (String)
- **document** (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
    def serving_config_path(project:, location:, collection:, engine:, 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)

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

The resource will be in the following format:


`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}`
**Parameters**

- **project** (String)
- **location** (String)
- **collection** (String)
- **engine** (String)
- **serving_config** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #session_path

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

Create a fully-qualified Session resource string.
**Overloads**

    def session_path(project:, location:, data_store:, session:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}`
**Parameters**

- **project** (String)
- **location** (String)
- **data_store** (String)
- **session** (String)

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

The resource will be in the following format:


`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}`
**Parameters**

- **project** (String)
- **location** (String)
- **collection** (String)
- **data_store** (String)
- **session** (String)

    def session_path(project:, location:, collection:, engine:, session:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`
**Parameters**

- **project** (String)
- **location** (String)
- **collection** (String)
- **engine** (String)
- **session** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)