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

Represents intent parameters.

Attributes

  • defaultValue (String.t): 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`. Defaults to: null.
  • displayName (String.t): Required. The name of the parameter. Defaults to: null.
  • entityTypeDisplayName (String.t): Optional. The name of the entity type, prefixed with `@`, that describes values of the parameter. If the parameter is required, this must be provided. Defaults to: null.
  • isList (boolean()): Optional. Indicates whether the parameter represents a list of values. Defaults to: null.
  • mandatory (boolean()): Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value. Defaults to: null.
  • name (String.t): The unique identifier of this parameter. Defaults to: null.
  • prompts ([String.t]): Optional. The collection of prompts that the agent can present to the user in order to collect value for the parameter. Defaults to: null.
  • value (String.t): 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`. Defaults to: null.

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: any(),
    displayName: any(),
    entityTypeDisplayName: any(),
    isList: any(),
    mandatory: any(),
    name: any(),
    prompts: [any()],
    value: any()
  }

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.