GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2GenerateSuggestionsRequest (google_api_dialogflow v0.89.0)

View Source

The request message for Conversations.GenerateSuggestions.

Attributes

  • latestMessage (type: String.t, default: nil) - Optional. The name of the latest conversation message for which the request is triggered. Format: projects//locations//conversations//messages/.
  • triggerEvents (type: list(String.t), default: nil) - Optional. A list of trigger events. Only generators configured in the conversation_profile whose trigger_event is listed here will be triggered.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2GenerateSuggestionsRequest{
    latestMessage: String.t() | nil,
    triggerEvents: [String.t()] | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.