Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dialogflow_v3beta1/classes.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb

Overview

Request of MatchIntent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1MatchIntentRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1MatchIntentRequest.



4680
4681
4682
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4680

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

Instance Attribute Details

#query_inputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput

Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger.

  1. Natural language speech audio to be processed. 4. An event to be triggered.

Corresponds to the JSON property queryInput



4673
4674
4675
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4673

def query_input
  @query_input
end

#query_paramsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters

Represents the parameters of a conversational query. Corresponds to the JSON property queryParams



4678
4679
4680
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4678

def query_params
  @query_params
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4685
4686
4687
4688
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4685

def update!(**args)
  @query_input = args[:query_input] if args.key?(:query_input)
  @query_params = args[:query_params] if args.key?(:query_params)
end