Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationEvent

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationEvent

Returns a new instance of GoogleCloudDialogflowV2beta1ConversationEvent.



12527
12528
12529
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12527

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

Instance Attribute Details

#conversationString

Corresponds to the JSON property conversation

Returns:

  • (String)


12505
12506
12507
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12505

def conversation
  @conversation
end

#error_statusGoogle::Apis::DialogflowV2beta1::GoogleRpcStatus

Corresponds to the JSON property errorStatus



12510
12511
12512
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12510

def error_status
  @error_status
end

#new_message_payloadGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message

Corresponds to the JSON property newMessagePayload



12515
12516
12517
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12515

def new_message_payload
  @new_message_payload
end

#new_recognition_result_payloadGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult

Corresponds to the JSON property newRecognitionResultPayload



12520
12521
12522
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12520

def new_recognition_result_payload
  @new_recognition_result_payload
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


12525
12526
12527
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12525

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12532
12533
12534
12535
12536
12537
12538
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12532

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