Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationEvent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationEvent
- 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::GoogleCloudDialogflowV2beta1Message
Corresponds to the JSON property
newMessagePayload. -
#new_recognition_result_payload ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult
Corresponds to the JSON property
newRecognitionResultPayload. -
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationEvent
constructor
A new instance of GoogleCloudDialogflowV2beta1ConversationEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationEvent
Returns a new instance of GoogleCloudDialogflowV2beta1ConversationEvent.
12417 12418 12419 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12417 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation ⇒ String
Corresponds to the JSON property conversation
12395 12396 12397 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12395 def conversation @conversation end |
#error_status ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
Corresponds to the JSON property errorStatus
12400 12401 12402 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12400 def error_status @error_status end |
#new_message_payload ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message
Corresponds to the JSON property newMessagePayload
12405 12406 12407 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12405 def @new_message_payload end |
#new_recognition_result_payload ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult
Corresponds to the JSON property newRecognitionResultPayload
12410 12411 12412 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12410 def new_recognition_result_payload @new_recognition_result_payload end |
#type ⇒ String
Corresponds to the JSON property type
12415 12416 12417 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12415 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12422 12423 12424 12425 12426 12427 12428 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12422 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 |