Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

Represents form information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3PageInfoFormInfo

Returns a new instance of GoogleCloudDialogflowCxV3PageInfoFormInfo.



2197
2198
2199
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2197

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#parameter_infoArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo>

Optional for both WebhookRequest and WebhookResponse. The parameters contained in the form. Note that the webhook cannot add or remove any form parameter. Corresponds to the JSON property parameterInfo



2195
2196
2197
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2195

def parameter_info
  @parameter_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2202
2203
2204
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2202

def update!(**args)
  @parameter_info = args[:parameter_info] if args.key?(:parameter_info)
end