Class Google::Cloud::Dialogflow::V2::TextInput (v0.12.0)

Represents the natural language text to be processed.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#language_code

def language_code() -> ::String
Returns
  • (::String) — Required. The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.

#language_code=

def language_code=(value) -> ::String
Parameter
  • value (::String) — Required. The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
Returns
  • (::String) — Required. The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.

#text

def text() -> ::String
Returns
  • (::String) — Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.
Returns
  • (::String) — Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.