Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ConversationEvent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ConversationEvent
- 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
Instance Attribute Summary collapse
-
#conversation ⇒ String
Corresponds to the JSON property
conversation. -
#error_status ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
Corresponds to the JSON property
errorStatus. -
#new_message_payload ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Message
Corresponds to the JSON property
newMessagePayload. -
#new_recognition_result_payload ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2StreamingRecognitionResult
Corresponds to the JSON property
newRecognitionResultPayload. -
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationEvent
constructor
A new instance of GoogleCloudDialogflowV2ConversationEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationEvent
Returns a new instance of GoogleCloudDialogflowV2ConversationEvent.
7262 7263 7264 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation ⇒ String
Corresponds to the JSON property conversation
7240 7241 7242 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7240 def conversation @conversation end |
#error_status ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
Corresponds to the JSON property errorStatus
7245 7246 7247 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7245 def error_status @error_status end |
#new_message_payload ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Message
Corresponds to the JSON property newMessagePayload
7250 7251 7252 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7250 def @new_message_payload end |
#new_recognition_result_payload ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2StreamingRecognitionResult
Corresponds to the JSON property newRecognitionResultPayload
7255 7256 7257 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7255 def new_recognition_result_payload @new_recognition_result_payload end |
#type ⇒ String
Corresponds to the JSON property type
7260 7261 7262 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7260 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7267 7268 7269 7270 7271 7272 7273 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7267 def update!(**args) @conversation = args[:conversation] if args.key?(:conversation) @error_status = args[:error_status] if args.key?(:error_status) @new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload) @new_recognition_result_payload = args[:new_recognition_result_payload] if args.key?(:new_recognition_result_payload) @type = args[:type] if args.key?(:type) end |