Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem.



18594
18595
18596
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18594

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


18572
18573
18574
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18572

def description
  @description
end

Corresponds to the JSON property footer

Returns:

  • (String)


18577
18578
18579
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18577

def footer
  @footer
end

#imageGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageImage

Corresponds to the JSON property image



18582
18583
18584
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18582

def image
  @image
end

#open_uri_actionGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction

Corresponds to the JSON property openUriAction



18587
18588
18589
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18587

def open_uri_action
  @open_uri_action
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


18592
18593
18594
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18592

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18599
18600
18601
18602
18603
18604
18605
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18599

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