Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTableCardCell

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

Overview

Cell of TableCardRow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageTableCardCell

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageTableCardCell.

[View source]

9364
9365
9366
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 9364

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

Instance Attribute Details

#textString

Required. Text in this cell. Corresponds to the JSON property text

Returns:

  • (String)

9362
9363
9364
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 9362

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

9369
9370
9371
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 9369

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