Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CustomPronunciationParams
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CustomPronunciationParams
- 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
-
#phonetic_encoding ⇒ String
Corresponds to the JSON property
phoneticEncoding. -
#phrase ⇒ String
Corresponds to the JSON property
phrase. -
#pronunciation ⇒ String
Corresponds to the JSON property
pronunciation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2CustomPronunciationParams
constructor
A new instance of GoogleCloudDialogflowV2CustomPronunciationParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2CustomPronunciationParams
Returns a new instance of GoogleCloudDialogflowV2CustomPronunciationParams.
9003 9004 9005 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9003 def initialize(**args) update!(**args) end |
Instance Attribute Details
#phonetic_encoding ⇒ String
Corresponds to the JSON property phoneticEncoding
8991 8992 8993 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8991 def phonetic_encoding @phonetic_encoding end |
#phrase ⇒ String
Corresponds to the JSON property phrase
8996 8997 8998 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8996 def phrase @phrase end |
#pronunciation ⇒ String
Corresponds to the JSON property pronunciation
9001 9002 9003 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9001 def pronunciation @pronunciation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9008 9009 9010 9011 9012 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9008 def update!(**args) @phonetic_encoding = args[:phonetic_encoding] if args.key?(:phonetic_encoding) @phrase = args[:phrase] if args.key?(:phrase) @pronunciation = args[:pronunciation] if args.key?(:pronunciation) end |