Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2WebhookResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2WebhookResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#followup_event_input ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput
Corresponds to the JSON property
followupEventInput. -
#fulfillment_messages ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessage>
Corresponds to the JSON property
fulfillmentMessages. -
#fulfillment_text ⇒ String
Corresponds to the JSON property
fulfillmentText. -
#output_contexts ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context>
Corresponds to the JSON property
outputContexts. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#session_entity_types ⇒ Array<Google::Apis::DialogflowV2::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.
17737 17738 17739 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17737 def initialize(**args) update!(**args) end |
Instance Attribute Details
#followup_event_input ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput
Corresponds to the JSON property followupEventInput
17705 17706 17707 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17705 def followup_event_input @followup_event_input end |
#fulfillment_messages ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessage>
Corresponds to the JSON property fulfillmentMessages
17710 17711 17712 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17710 def @fulfillment_messages end |
#fulfillment_text ⇒ String
Corresponds to the JSON property fulfillmentText
17715 17716 17717 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17715 def fulfillment_text @fulfillment_text end |
#output_contexts ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context>
Corresponds to the JSON property outputContexts
17720 17721 17722 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17720 def output_contexts @output_contexts end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
17725 17726 17727 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17725 def payload @payload end |
#session_entity_types ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType>
Corresponds to the JSON property sessionEntityTypes
17730 17731 17732 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17730 def session_entity_types @session_entity_types end |
#source ⇒ String
Corresponds to the JSON property source
17735 17736 17737 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17735 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17742 17743 17744 17745 17746 17747 17748 17749 17750 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17742 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 |