Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams

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) ⇒ GoogleCloudDialogflowV2VoiceSelectionParams

Returns a new instance of GoogleCloudDialogflowV2VoiceSelectionParams.



17885
17886
17887
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17885

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


17878
17879
17880
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17878

def name
  @name
end

#ssml_genderString

Corresponds to the JSON property ssmlGender

Returns:

  • (String)


17883
17884
17885
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17883

def ssml_gender
  @ssml_gender
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17890
17891
17892
17893
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17890

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