Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentRequest

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 FulfillIntent

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FulfillIntentRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1FulfillIntentRequest.



3507
3508
3509
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3507

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

Instance Attribute Details

#matchGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match

Represents one match result of MatchIntent. Corresponds to the JSON property match



3495
3496
3497
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3495

def match
  @match
end

#match_intent_requestGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest

Request of MatchIntent. Corresponds to the JSON property matchIntentRequest



3500
3501
3502
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3500

def match_intent_request
  @match_intent_request
end

#output_audio_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig

Instructs the speech synthesizer how to generate the output audio content. Corresponds to the JSON property outputAudioConfig



3505
3506
3507
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3505

def output_audio_config
  @output_audio_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3512
3513
3514
3515
3516
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 3512

def update!(**args)
  @match = args[:match] if args.key?(:match)
  @match_intent_request = args[:match_intent_request] if args.key?(:match_intent_request)
  @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
end