Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageText

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageText

Returns a new instance of GoogleCloudDialogflowV2IntentMessageText.



12909
12910
12911
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12909

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

Instance Attribute Details

#textArray<String>

Corresponds to the JSON property text

Returns:

  • (Array<String>)


12907
12908
12909
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12907

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12914
12915
12916
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12914

def update!(**args)
  @text = args[:text] if args.key?(:text)
end