Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageText

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageText

Returns a new instance of GoogleCloudDialogflowV2IntentMessageText.



16903
16904
16905
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16903

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

Instance Attribute Details

#textArray<String>

Corresponds to the JSON property text

Returns:

  • (Array<String>)


16901
16902
16903
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16901

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16908
16909
16910
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16908

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