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

The request message for Conversations.GenerateStatelessSuggestion.

Attributes

  • conversationContext (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationContext.t, default: nil) - Optional. Context of the conversation, including transcripts.
  • generator (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Generator.t, default: nil) - Uncreated generator. It should be a complete generator that includes all information about the generator.
  • generatorName (type: String.t, default: nil) - The resource name of the existing created generator. Format: projects//locations//generators/
  • triggerEvents (type: list(String.t), default: nil) - Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest{
    conversationContext:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationContext.t()
      | nil,
    generator:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Generator.t() | nil,
    generatorName: 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.