Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCardCell

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) ⇒ GoogleCloudDialogflowV2IntentMessageTableCardCell

Returns a new instance of GoogleCloudDialogflowV2IntentMessageTableCardCell.



12870
12871
12872
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12870

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

Instance Attribute Details

#textString

Corresponds to the JSON property text

Returns:

  • (String)


12868
12869
12870
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12868

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12875
12876
12877
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12875

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