Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VoiceSelectionParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3VoiceSelectionParams

Returns a new instance of GoogleCloudDialogflowCxV3VoiceSelectionParams.



9171
9172
9173
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9171

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


9164
9165
9166
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9164

def name
  @name
end

#ssml_genderString

Corresponds to the JSON property ssmlGender

Returns:

  • (String)


9169
9170
9171
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9169

def ssml_gender
  @ssml_gender
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9176
9177
9178
9179
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9176

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