2.16.0 (latest) 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ConversationalSearchResponse : IMessage<ConversationalSearchResponse>, IEquatable<ConversationalSearchResponse>, IDeepCloneable<ConversationalSearchResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Retail v2 API class ConversationalSearchResponse.

Response message for
\[ConversationalSearchService.ConversationalSearch\]\[google.cloud.retail.v2.ConversationalSearchService.ConversationalSearch\]
method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ConversationalSearchResponse

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ConversationalSearchResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.ConversationalSearchResponse.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConversationalSearchResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.ConversationalSearchResponse.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ConversationalSearchResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.ConversationalSearchResponse.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Retail.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.md.txt)

## Assembly

Google.Cloud.Retail.V2.dll

## Constructors

### ConversationalSearchResponse()

    public ConversationalSearchResponse()

### ConversationalSearchResponse(ConversationalSearchResponse)

    public ConversationalSearchResponse(ConversationalSearchResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ConversationalSearchResponse` |

## Properties

### ConversationId

    public string ConversationId { get; set; }

Conversation UUID. This field will be stored in client side storage to
maintain the conversation session with server and will be used for next
search request's
\[ConversationalSearchRequest.conversation_id\]\[google.cloud.retail.v2.ConversationalSearchRequest.conversation_id\]
to restore conversation state in server.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ConversationalFilteringResult

    public ConversationalSearchResponse.Types.ConversationalFilteringResult ConversationalFilteringResult { get; set; }

This field specifies all related information that is needed on client
side for UI rendering of conversational filtering search.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ConversationalSearchResponseTypesConversationalFilteringResult` |   |

### ConversationalTextResponse

    public string ConversationalTextResponse { get; set; }

The conversational answer-based text response generated by the Server.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### FollowupQuestion

    public ConversationalSearchResponse.Types.FollowupQuestion FollowupQuestion { get; set; }

The conversational followup question generated for Intent refinement.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ConversationalSearchResponseTypesFollowupQuestion` |   |

### RefinedSearch

    public RepeatedField<ConversationalSearchResponse.Types.RefinedSearch> RefinedSearch { get; }

The proposed refined search queries. They can be used to fetch the relevant
search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
refined_query from search response will be populated here.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldConversationalSearchResponseTypesRefinedSearch` |   |

### State

    public ConversationalSearchResponse.Types.State State { get; set; }

Output only. The state of the response generation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ConversationalSearchResponseTypesState` |   |

### UserQueryTypes

    public RepeatedField<string> UserQueryTypes { get; }

The types Retail classifies the search query as.

Supported values are:

- "ORDER_SUPPORT"
- "SIMPLE_PRODUCT_SEARCH"
- "INTENT_REFINEMENT"
- "PRODUCT_DETAILS"
- "PRODUCT_COMPARISON"
- "DEALS_AND_COUPONS"
- "STORE_RELEVANT"
- "BLOCKLISTED"
- "BEST_PRODUCT"
- "RETAIL_SUPPORT"
- "DISABLED"

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |