class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudio
Represents the natural language speech audio to be played to the end user.
Attributes
audio[RW]
Required. The natural language speech audio. Corresponds to the JSON property `audio` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
config[RW]
Instructs the speech synthesizer how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to- speech settings applied to the agent. Corresponds to the JSON property `config` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 12832 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 12837 def update!(**args) @audio = args[:audio] if args.key?(:audio) @config = args[:config] if args.key?(:config) end