View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent (google_api_dialogflow v0.78.0)

Output only. Represents a notification sent to Pub/Sub subscribers for agent assistant events in a specific conversation.

Attributes

  • conversation (type: String.t, default: nil) - The conversation this notification refers to. Format: projects//conversations/.
  • participant (type: String.t, default: nil) - The participant that the suggestion is compiled for. And This field is used to call Participants.ListSuggestions API. Format: projects//conversations//participants/. It will not be set in legacy workflow. HumanAgentAssistantConfig.name for more information.
  • suggestionResults (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SuggestionResult.t), default: nil) - The suggestion results payload that this notification refers to. It will only be set when HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses sets to true.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent{
    conversation: String.t() | nil,
    participant: String.t() | nil,
    suggestionResults:
      [
        GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SuggestionResult.t()
      ]
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.