Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CustomPronunciationParams
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CustomPronunciationParams
- 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
-
#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) ⇒ GoogleCloudDialogflowV2beta1CustomPronunciationParams
constructor
A new instance of GoogleCloudDialogflowV2beta1CustomPronunciationParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1CustomPronunciationParams
Returns a new instance of GoogleCloudDialogflowV2beta1CustomPronunciationParams.
12704 12705 12706 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12704 def initialize(**args) update!(**args) end |
Instance Attribute Details
#phonetic_encoding ⇒ String
Corresponds to the JSON property phoneticEncoding
12692 12693 12694 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12692 def phonetic_encoding @phonetic_encoding end |
#phrase ⇒ String
Corresponds to the JSON property phrase
12697 12698 12699 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12697 def phrase @phrase end |
#pronunciation ⇒ String
Corresponds to the JSON property pronunciation
12702 12703 12704 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12702 def pronunciation @pronunciation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12709 12710 12711 12712 12713 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12709 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 |