Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1VoiceSelectionParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1VoiceSelectionParams

Returns a new instance of GoogleCloudDialogflowV2beta1VoiceSelectionParams.



22151
22152
22153
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22151

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


22144
22145
22146
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22144

def name
  @name
end

#ssml_genderString

Corresponds to the JSON property ssmlGender

Returns:

  • (String)


22149
22150
22151
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22149

def ssml_gender
  @ssml_gender
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22156
22157
22158
22159
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22156

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @ssml_gender = args[:ssml_gender] if args.key?(:ssml_gender)
end