View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo (google_api_dialogflow v0.78.0)

Represents parameter information.

Attributes

  • displayName (type: String.t, default: nil) - Always present for WebhookRequest. Required for WebhookResponse. The human-readable name of the parameter, unique within the form. This field cannot be modified by the webhook.
  • justCollected (type: boolean(), default: nil) - Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the parameter value was just collected on the last conversation turn.
  • required (type: boolean(), default: nil) - Optional for both WebhookRequest and WebhookResponse. Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.
  • state (type: String.t, default: nil) - Always present for WebhookRequest. Required for WebhookResponse. The state of the parameter. This field can be set to INVALID by the webhook to invalidate the parameter; other values set by the webhook will be ignored.
  • value (type: any(), default: nil) - Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo{
    displayName: String.t() | nil,
    justCollected: boolean() | nil,
    required: boolean() | nil,
    state: String.t() | nil,
    value: any() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.