class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput
Represents the natural language text to be processed.
Attributes
language_code[RW]
Required. The language of this conversational query. See [Language Support]( cloud.google.com/dialogflow/docs/reference/language) 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. Corresponds to the JSON property `languageCode` @return [String]
text[RW]
Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters. Corresponds to the JSON property `text` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 14154 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 14159 def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) @text = args[:text] if args.key?(:text) end