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

View Source

The request message for Conversations.GenerateStatelessSuggestion.

Attributes

  • contextReferences (type: %{optional(String.t) => GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationContextReference.t}, default: nil) - Optional. A section of ingested context information. The key is the name of the context reference and the value contains the contents of the context reference. The key is used to incorporate ingested context references to enhance the generator.
  • 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{
    contextReferences:
      %{
        optional(String.t()) =>
          GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationContextReference.t()
      }
      | nil,
    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.