Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::LanguageInfo (v1.2.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::LanguageInfo.

Represents the language information of the request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence_score

def confidence_score() -> ::Float
Returns
  • (::Float) — The confidence score of the detected language between 0 and 1.

#confidence_score=

def confidence_score=(value) -> ::Float
Parameter
  • value (::Float) — The confidence score of the detected language between 0 and 1.
Returns
  • (::Float) — The confidence score of the detected language between 0 and 1.

#input_language_code

def input_language_code() -> ::String
Returns
  • (::String) — The language code specified in the original request.

#input_language_code=

def input_language_code=(value) -> ::String
Parameter
  • value (::String) — The language code specified in the original request.
Returns
  • (::String) — The language code specified in the original request.

#resolved_language_code

def resolved_language_code() -> ::String
Returns
  • (::String) — The language code detected for this request based on the user conversation.

#resolved_language_code=

def resolved_language_code=(value) -> ::String
Parameter
  • value (::String) — The language code detected for this request based on the user conversation.
Returns
  • (::String) — The language code detected for this request based on the user conversation.