Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem

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

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem.



19629
19630
19631
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19629

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


19607
19608
19609
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19607

def description
  @description
end

Corresponds to the JSON property footer

Returns:

  • (String)


19612
19613
19614
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19612

def footer
  @footer
end

#imageGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage

Corresponds to the JSON property image



19617
19618
19619
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19617

def image
  @image
end

#open_uri_actionGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction

Corresponds to the JSON property openUriAction



19622
19623
19624
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19622

def open_uri_action
  @open_uri_action
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


19627
19628
19629
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19627

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19634
19635
19636
19637
19638
19639
19640
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19634

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