Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3MatchIntentRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3MatchIntentRequest

Returns a new instance of GoogleCloudDialogflowCxV3MatchIntentRequest.



5415
5416
5417
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5415

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

Instance Attribute Details

#persist_parameter_changesBoolean Also known as: persist_parameter_changes?

Corresponds to the JSON property persistParameterChanges

Returns:

  • (Boolean)


5402
5403
5404
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5402

def persist_parameter_changes
  @persist_parameter_changes
end

#query_inputGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput

Corresponds to the JSON property queryInput



5408
5409
5410
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5408

def query_input
  @query_input
end

#query_paramsGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryParameters

Corresponds to the JSON property queryParams



5413
5414
5415
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5413

def query_params
  @query_params
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5420
5421
5422
5423
5424
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5420

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