Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ConversationEvent

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) ⇒ GoogleCloudDialogflowV2beta1ConversationEvent

Returns a new instance of GoogleCloudDialogflowV2beta1ConversationEvent.



19136
19137
19138
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19136

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

Instance Attribute Details

#conversationString

Corresponds to the JSON property conversation

Returns:

  • (String)


19114
19115
19116
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19114

def conversation
  @conversation
end

#error_statusGoogle::Apis::DialogflowV3beta1::GoogleRpcStatus

Corresponds to the JSON property errorStatus



19119
19120
19121
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19119

def error_status
  @error_status
end

#new_message_payloadGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Message

Corresponds to the JSON property newMessagePayload



19124
19125
19126
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19124

def new_message_payload
  @new_message_payload
end

#new_recognition_result_payloadGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult

Corresponds to the JSON property newRecognitionResultPayload



19129
19130
19131
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19129

def new_recognition_result_payload
  @new_recognition_result_payload
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


19134
19135
19136
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19134

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19141
19142
19143
19144
19145
19146
19147
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19141

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