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.
9023 9024 9025 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9023 def initialize(**args) update!(**args) end |
Instance Attribute Details
#phonetic_encoding ⇒ String
Corresponds to the JSON property phoneticEncoding
9011 9012 9013 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9011 def phonetic_encoding @phonetic_encoding end |
#phrase ⇒ String
Corresponds to the JSON property phrase
9016 9017 9018 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9016 def phrase @phrase end |
#pronunciation ⇒ String
Corresponds to the JSON property pronunciation
9021 9022 9023 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9021 def pronunciation @pronunciation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9028 9029 9030 9031 9032 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9028 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 |