Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LanguageInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LanguageInfo
- 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
-
#confidence_score ⇒ Float
Corresponds to the JSON property
confidenceScore. -
#input_language_code ⇒ String
Corresponds to the JSON property
inputLanguageCode. -
#resolved_language_code ⇒ String
Corresponds to the JSON property
resolvedLanguageCode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3LanguageInfo
constructor
A new instance of GoogleCloudDialogflowCxV3LanguageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3LanguageInfo
Returns a new instance of GoogleCloudDialogflowCxV3LanguageInfo.
4689 4690 4691 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4689 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_score ⇒ Float
Corresponds to the JSON property confidenceScore
4677 4678 4679 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4677 def confidence_score @confidence_score end |
#input_language_code ⇒ String
Corresponds to the JSON property inputLanguageCode
4682 4683 4684 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4682 def input_language_code @input_language_code end |
#resolved_language_code ⇒ String
Corresponds to the JSON property resolvedLanguageCode
4687 4688 4689 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4687 def resolved_language_code @resolved_language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4694 4695 4696 4697 4698 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4694 def update!(**args) @confidence_score = args[:confidence_score] if args.key?(:confidence_score) @input_language_code = args[:input_language_code] if args.key?(:input_language_code) @resolved_language_code = args[:resolved_language_code] if args.key?(:resolved_language_code) end |