Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3LanguageInfo

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3LanguageInfo

Returns a new instance of GoogleCloudDialogflowCxV3LanguageInfo.



1761
1762
1763
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1761

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

Instance Attribute Details

#confidence_scoreFloat

Corresponds to the JSON property confidenceScore

Returns:

  • (Float)


1749
1750
1751
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1749

def confidence_score
  @confidence_score
end

#input_language_codeString

Corresponds to the JSON property inputLanguageCode

Returns:

  • (String)


1754
1755
1756
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1754

def input_language_code
  @input_language_code
end

#resolved_language_codeString

Corresponds to the JSON property resolvedLanguageCode

Returns:

  • (String)


1759
1760
1761
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1759

def resolved_language_code
  @resolved_language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1766
1767
1768
1769
1770
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1766

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