Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1LanguageInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LanguageInfo

Returns a new instance of GoogleCloudDialogflowCxV3beta1LanguageInfo.



5153
5154
5155
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5153

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#confidence_scoreFloat

Corresponds to the JSON property confidenceScore

Returns:

  • (Float)


5141
5142
5143
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5141

def confidence_score
  @confidence_score
end

#input_language_codeString

Corresponds to the JSON property inputLanguageCode

Returns:

  • (String)


5146
5147
5148
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5146

def input_language_code
  @input_language_code
end

#resolved_language_codeString

Corresponds to the JSON property resolvedLanguageCode

Returns:

  • (String)


5151
5152
5153
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5151

def resolved_language_code
  @resolved_language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5158
5159
5160
5161
5162
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5158

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