Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2WebhookResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2WebhookResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#followup_event_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EventInput
Corresponds to the JSON property
followupEventInput. -
#fulfillment_messages ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessage>
Corresponds to the JSON property
fulfillmentMessages. -
#fulfillment_text ⇒ String
Corresponds to the JSON property
fulfillmentText. -
#output_contexts ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2Context>
Corresponds to the JSON property
outputContexts. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#session_entity_types ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SessionEntityType>
Corresponds to the JSON property
sessionEntityTypes. -
#source ⇒ String
Corresponds to the JSON property
source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2WebhookResponse
constructor
A new instance of GoogleCloudDialogflowV2WebhookResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2WebhookResponse
Returns a new instance of GoogleCloudDialogflowV2WebhookResponse.
18460 18461 18462 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18460 def initialize(**args) update!(**args) end |
Instance Attribute Details
#followup_event_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EventInput
Corresponds to the JSON property followupEventInput
18428 18429 18430 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18428 def followup_event_input @followup_event_input end |
#fulfillment_messages ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessage>
Corresponds to the JSON property fulfillmentMessages
18433 18434 18435 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18433 def @fulfillment_messages end |
#fulfillment_text ⇒ String
Corresponds to the JSON property fulfillmentText
18438 18439 18440 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18438 def fulfillment_text @fulfillment_text end |
#output_contexts ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2Context>
Corresponds to the JSON property outputContexts
18443 18444 18445 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18443 def output_contexts @output_contexts end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
18448 18449 18450 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18448 def payload @payload end |
#session_entity_types ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SessionEntityType>
Corresponds to the JSON property sessionEntityTypes
18453 18454 18455 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18453 def session_entity_types @session_entity_types end |
#source ⇒ String
Corresponds to the JSON property source
18458 18459 18460 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18458 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18465 18466 18467 18468 18469 18470 18471 18472 18473 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18465 def update!(**args) @followup_event_input = args[:followup_event_input] if args.key?(:followup_event_input) @fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages) @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text) @output_contexts = args[:output_contexts] if args.key?(:output_contexts) @payload = args[:payload] if args.key?(:payload) @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types) @source = args[:source] if args.key?(:source) end |