Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationEvent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationEvent
- 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
-
#conversation ⇒ String
Corresponds to the JSON property
conversation. -
#error_status ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
Corresponds to the JSON property
errorStatus. -
#new_message_payload ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message
Corresponds to the JSON property
newMessagePayload. -
#new_recognition_result_payload ⇒ Google::Apis::DialogflowV2::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.
8488 8489 8490 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8488 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation ⇒ String
Corresponds to the JSON property conversation
8466 8467 8468 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8466 def conversation @conversation end |
#error_status ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
Corresponds to the JSON property errorStatus
8471 8472 8473 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8471 def error_status @error_status end |
#new_message_payload ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message
Corresponds to the JSON property newMessagePayload
8476 8477 8478 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8476 def @new_message_payload end |
#new_recognition_result_payload ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2StreamingRecognitionResult
Corresponds to the JSON property newRecognitionResultPayload
8481 8482 8483 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8481 def new_recognition_result_payload @new_recognition_result_payload end |
#type ⇒ String
Corresponds to the JSON property type
8486 8487 8488 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8486 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8493 8494 8495 8496 8497 8498 8499 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8493 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 |