Class: Google::Cloud::Dialogflow::CX::V3::LanguageInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb

Overview

Represents the language information of the request.

Instance Attribute Summary collapse

Instance Attribute Details

#confidence_score::Float

Returns The confidence score of the detected language between 0 and 1.

Returns:

  • (::Float)

    The confidence score of the detected language between 0 and 1.



698
699
700
701
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 698

class LanguageInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#input_language_code::String

Returns The language code specified in the original request.

Returns:

  • (::String)

    The language code specified in the original request.



698
699
700
701
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 698

class LanguageInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resolved_language_code::String

Returns 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.



698
699
700
701
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 698

class LanguageInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end