View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssistantEvent (google_api_dialogflow v0.88.3)

Represents a notification sent to Cloud Pub/Sub subscribers for human 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. Format: projects//conversations//participants/. It will not be set in legacy workflow.
  • suggestionResults (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SuggestionResult.t), default: nil) - The suggestion results payload that this notification refers to.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.