Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1WebhookResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1WebhookResponse
- 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
-
#end_interaction ⇒ Boolean
(also: #end_interaction?)
Corresponds to the JSON property
endInteraction. -
#followup_event_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EventInput
Corresponds to the JSON property
followupEventInput. -
#fulfillment_messages ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessage>
Corresponds to the JSON property
fulfillmentMessages. -
#fulfillment_text ⇒ String
Corresponds to the JSON property
fulfillmentText. -
#live_agent_handoff ⇒ Boolean
(also: #live_agent_handoff?)
Corresponds to the JSON property
liveAgentHandoff. -
#output_contexts ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Context>
Corresponds to the JSON property
outputContexts. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#session_entity_types ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SessionEntityType>
Corresponds to the JSON property
sessionEntityTypes. -
#source ⇒ String
Corresponds to the JSON property
source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1WebhookResponse
constructor
A new instance of GoogleCloudDialogflowV2beta1WebhookResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1WebhookResponse
Returns a new instance of GoogleCloudDialogflowV2beta1WebhookResponse.
23182 23183 23184 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23182 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_interaction ⇒ Boolean Also known as: end_interaction?
Corresponds to the JSON property endInteraction
23138 23139 23140 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23138 def end_interaction @end_interaction end |
#followup_event_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EventInput
Corresponds to the JSON property followupEventInput
23144 23145 23146 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23144 def followup_event_input @followup_event_input end |
#fulfillment_messages ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessage>
Corresponds to the JSON property fulfillmentMessages
23149 23150 23151 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23149 def @fulfillment_messages end |
#fulfillment_text ⇒ String
Corresponds to the JSON property fulfillmentText
23154 23155 23156 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23154 def fulfillment_text @fulfillment_text end |
#live_agent_handoff ⇒ Boolean Also known as: live_agent_handoff?
Corresponds to the JSON property liveAgentHandoff
23159 23160 23161 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23159 def live_agent_handoff @live_agent_handoff end |
#output_contexts ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Context>
Corresponds to the JSON property outputContexts
23165 23166 23167 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23165 def output_contexts @output_contexts end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
23170 23171 23172 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23170 def payload @payload end |
#session_entity_types ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SessionEntityType>
Corresponds to the JSON property sessionEntityTypes
23175 23176 23177 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23175 def session_entity_types @session_entity_types end |
#source ⇒ String
Corresponds to the JSON property source
23180 23181 23182 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23180 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23187 23188 23189 23190 23191 23192 23193 23194 23195 23196 23197 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23187 def update!(**args) @end_interaction = args[:end_interaction] if args.key?(:end_interaction) @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) @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff) @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 |