class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem

Browsing carousel tile

Attributes

description[RW]

Optional. Description of the carousel item. Maximum of four lines of text. Corresponds to the JSON property `description` @return [String]

image[RW]

The image response message. Corresponds to the JSON property `image` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageImage]

open_uri_action[RW]

Actions on Google action to open a given url. Corresponds to the JSON property `openUriAction` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction]

title[RW]

Required. Title of the carousel item. Maximum of two lines of text. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 9381
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 9386
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @footer = args[:footer] if args.key?(:footer)
  @image = args[:image] if args.key?(:image)
  @open_uri_action = args[:open_uri_action] if args.key?(:open_uri_action)
  @title = args[:title] if args.key?(:title)
end