Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ConversationEvent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationEvent

Returns a new instance of GoogleCloudDialogflowV2ConversationEvent.



15016
15017
15018
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15016

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conversationString

Corresponds to the JSON property conversation

Returns:

  • (String)


14994
14995
14996
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14994

def conversation
  @conversation
end

#error_statusGoogle::Apis::DialogflowV3beta1::GoogleRpcStatus

Corresponds to the JSON property errorStatus



14999
15000
15001
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14999

def error_status
  @error_status
end

#new_message_payloadGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2Message

Corresponds to the JSON property newMessagePayload



15004
15005
15006
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15004

def new_message_payload
  @new_message_payload
end

#new_recognition_result_payloadGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2StreamingRecognitionResult

Corresponds to the JSON property newRecognitionResultPayload



15009
15010
15011
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15009

def new_recognition_result_payload
  @new_recognition_result_payload
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


15014
15015
15016
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15014

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15021
15022
15023
15024
15025
15026
15027
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15021

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