Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem

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

Returns a new instance of GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem.



14871
14872
14873
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14871

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


14849
14850
14851
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14849

def description
  @description
end

Corresponds to the JSON property footer

Returns:

  • (String)


14854
14855
14856
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14854

def footer
  @footer
end

#imageGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property image



14859
14860
14861
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14859

def image
  @image
end

#open_uri_actionGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction

Corresponds to the JSON property openUriAction



14864
14865
14866
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14864

def open_uri_action
  @open_uri_action
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


14869
14870
14871
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14869

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14876
14877
14878
14879
14880
14881
14882
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14876

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