Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SynthesizeSpeechConfig

Returns a new instance of GoogleCloudDialogflowV2SynthesizeSpeechConfig.



16955
16956
16957
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16955

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

Instance Attribute Details

#effects_profile_idArray<String>

Corresponds to the JSON property effectsProfileId

Returns:

  • (Array<String>)


16928
16929
16930
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16928

def effects_profile_id
  @effects_profile_id
end

#pitchFloat

Corresponds to the JSON property pitch

Returns:

  • (Float)


16933
16934
16935
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16933

def pitch
  @pitch
end

#pronunciationsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CustomPronunciationParams>

Corresponds to the JSON property pronunciations



16938
16939
16940
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16938

def pronunciations
  @pronunciations
end

#speaking_rateFloat

Corresponds to the JSON property speakingRate

Returns:

  • (Float)


16943
16944
16945
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16943

def speaking_rate
  @speaking_rate
end

#voiceGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams

Corresponds to the JSON property voice



16948
16949
16950
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16948

def voice
  @voice
end

#volume_gain_dbFloat

Corresponds to the JSON property volumeGainDb

Returns:

  • (Float)


16953
16954
16955
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16953

def volume_gain_db
  @volume_gain_db
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16960
16961
16962
16963
16964
16965
16966
16967
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16960

def update!(**args)
  @effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id)
  @pitch = args[:pitch] if args.key?(:pitch)
  @pronunciations = args[:pronunciations] if args.key?(:pronunciations)
  @speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate)
  @voice = args[:voice] if args.key?(:voice)
  @volume_gain_db = args[:volume_gain_db] if args.key?(:volume_gain_db)
end