Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams
- 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
-
#name ⇒ String
Corresponds to the JSON property
name. -
#ssml_gender ⇒ String
Corresponds to the JSON property
ssmlGender.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2VoiceSelectionParams
constructor
A new instance of GoogleCloudDialogflowV2VoiceSelectionParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2VoiceSelectionParams
Returns a new instance of GoogleCloudDialogflowV2VoiceSelectionParams.
17650 17651 17652 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17650 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
17643 17644 17645 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17643 def name @name end |
#ssml_gender ⇒ String
Corresponds to the JSON property ssmlGender
17648 17649 17650 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17648 def ssml_gender @ssml_gender end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17655 17656 17657 17658 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17655 def update!(**args) @name = args[:name] if args.key?(:name) @ssml_gender = args[:ssml_gender] if args.key?(:ssml_gender) end |