google_api_dialogflow v0.38.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentParameter View Source

Represents intent parameters.

Attributes

  • defaultValue (type: String.t, default: nil) - Optional. The default value to use when the value yields an empty result. Default values can be extracted from contexts by using the following syntax: #context_name.parameter_name.
  • displayName (type: String.t, default: nil) - Required. The name of the parameter.
  • entityTypeDisplayName (type: String.t, default: nil) - Optional. The name of the entity type, prefixed with @, that describes values of the parameter. If the parameter is required, this must be provided.
  • isList (type: boolean(), default: nil) - Optional. Indicates whether the parameter represents a list of values.
  • mandatory (type: boolean(), default: nil) - Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value.
  • name (type: String.t, default: nil) - The unique identifier of this parameter.
  • prompts (type: list(String.t), default: nil) - Optional. The collection of prompts that the agent can present to the user in order to collect a value for the parameter.
  • value (type: String.t, default: nil) - Optional. The definition of the parameter value. It can be:

    • a constant string,
    • a parameter value defined as $parameter_name,
    • an original parameter value defined as $parameter_name.original,
    • a parameter value from some context defined as #context_name.parameter_name.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentParameter{
    defaultValue: String.t(),
    displayName: String.t(),
    entityTypeDisplayName: String.t(),
    isList: boolean(),
    mandatory: boolean(),
    name: String.t(),
    prompts: [String.t()],
    value: String.t()
  }

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.