Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1LanguageInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1LanguageInfo
- 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
-
#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) ⇒ GoogleCloudDialogflowCxV3beta1LanguageInfo
constructor
A new instance of GoogleCloudDialogflowCxV3beta1LanguageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LanguageInfo
Returns a new instance of GoogleCloudDialogflowCxV3beta1LanguageInfo.
5129 5130 5131 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_score ⇒ Float
Corresponds to the JSON property confidenceScore
5117 5118 5119 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5117 def confidence_score @confidence_score end |
#input_language_code ⇒ String
Corresponds to the JSON property inputLanguageCode
5122 5123 5124 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5122 def input_language_code @input_language_code end |
#resolved_language_code ⇒ String
Corresponds to the JSON property resolvedLanguageCode
5127 5128 5129 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5127 def resolved_language_code @resolved_language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5134 5135 5136 5137 5138 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5134 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 |