Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCard

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

Returns a new instance of GoogleCloudDialogflowV2IntentMessageTableCard.



12840
12841
12842
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12840

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

Instance Attribute Details

#buttonsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBasicCardButton>

Corresponds to the JSON property buttons



12813
12814
12815
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12813

def buttons
  @buttons
end

#column_propertiesArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageColumnProperties>

Corresponds to the JSON property columnProperties



12818
12819
12820
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12818

def column_properties
  @column_properties
end

#imageGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property image



12823
12824
12825
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12823

def image
  @image
end

#rowsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCardRow>

Corresponds to the JSON property rows



12828
12829
12830
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12828

def rows
  @rows
end

#subtitleString

Corresponds to the JSON property subtitle

Returns:

  • (String)


12833
12834
12835
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12833

def subtitle
  @subtitle
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


12838
12839
12840
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12838

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12845
12846
12847
12848
12849
12850
12851
12852
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12845

def update!(**args)
  @buttons = args[:buttons] if args.key?(:buttons)
  @column_properties = args[:column_properties] if args.key?(:column_properties)
  @image = args[:image] if args.key?(:image)
  @rows = args[:rows] if args.key?(:rows)
  @subtitle = args[:subtitle] if args.key?(:subtitle)
  @title = args[:title] if args.key?(:title)
end