# Google Cloud Dialogflow v2beta1 API - Class SuggestionResult (1.0.0-beta30)

1.0.0-beta30 (latest) 1.0.0-beta29

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class SuggestionResult.

One response of different type of suggestion response which is used in
the response of
\[Participants.AnalyzeContent\]\[google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent\]
and
\[Participants.AnalyzeContent\]\[google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent\],
as well as
\[HumanAgentAssistantEvent\]\[google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent\].

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SuggestionResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestionResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SuggestionResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestionResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SuggestionResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestionResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.Dialogflow.V2Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)

## Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

## Constructors

### SuggestionResult()

    public SuggestionResult()

### SuggestionResult(SuggestionResult)

    public SuggestionResult(SuggestionResult other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestionResult` |

## Properties

### Error

    public Status Error { get; set; }

Error status if the request failed.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Rpc.Status.html` |   |

### GenerateSuggestionsResponse

    public GenerateSuggestionsResponse GenerateSuggestionsResponse { get; set; }

Suggestions generated using generators triggered by customer or agent
messages.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.GenerateSuggestionsResponse` |   |

### SuggestArticlesResponse

    public SuggestArticlesResponse SuggestArticlesResponse { get; set; }

SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestArticlesResponse` |   |

### SuggestDialogflowAssistsResponse

    public SuggestDialogflowAssistsResponse SuggestDialogflowAssistsResponse { get; set; }

SuggestDialogflowAssistsResponse if request is for DIALOGFLOW_ASSIST.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestDialogflowAssistsResponse` |   |

### SuggestEntityExtractionResponse

    public SuggestDialogflowAssistsResponse SuggestEntityExtractionResponse { get; set; }

SuggestDialogflowAssistsResponse if request is for ENTITY_EXTRACTION.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestDialogflowAssistsResponse` |   |

### SuggestFaqAnswersResponse

    public SuggestFaqAnswersResponse SuggestFaqAnswersResponse { get; set; }

SuggestFaqAnswersResponse if request is for FAQ_ANSWER.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestFaqAnswersResponse` |   |

### SuggestKnowledgeAssistResponse

    public SuggestKnowledgeAssistResponse SuggestKnowledgeAssistResponse { get; set; }

SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestKnowledgeAssistResponse` |   |

### SuggestSmartRepliesResponse

    public SuggestSmartRepliesResponse SuggestSmartRepliesResponse { get; set; }

SuggestSmartRepliesResponse if request is for SMART_REPLY.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestSmartRepliesResponse` |   |

### SuggestionResponseCase

    public SuggestionResult.SuggestionResponseOneofCase SuggestionResponseCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestionResulthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SuggestionResult.SuggestionResponseOneofCase` |   |