GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer (google_api_dialogflow v0.89.0)

View Source

A GeneratorSuggestion answer.

Attributes

  • answerRecord (type: String.t, default: nil) - Answer record that uniquely identifies the suggestion. This can be used to provide suggestion feedback.
  • generatorSuggestion (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2GeneratorSuggestion.t, default: nil) - Suggestion details.
  • sourceGenerator (type: String.t, default: nil) - The name of the generator used to generate this suggestion. Format: projects//locations//generators/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer{
    answerRecord: String.t() | nil,
    generatorSuggestion:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2GeneratorSuggestion.t()
      | nil,
    sourceGenerator: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.