Class: Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem
- Defined in:
- lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb
Overview
Browsing carousel tile
Defined Under Namespace
Classes: OpenUrlAction
Instance Attribute Summary collapse
-
#description ⇒ String
Optional.
-
#footer ⇒ String
Optional.
-
#image ⇒ Google::Cloud::Dialogflow::V2::Intent::Message::Image
Optional.
-
#open_uri_action ⇒ Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction
Required.
-
#title ⇒ String
Required.
Instance Attribute Details
#description ⇒ String
Returns Optional. Description of the carousel item. Maximum of four lines of text.
534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 534 class BrowseCarouselCardItem # Actions on Google action to open a given url. # @!attribute [rw] url # @return [String] # Required. URL # @!attribute [rw] url_type_hint # @return [Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction::UrlTypeHint] # Optional. Specifies the type of viewer that is used when opening # the URL. Defaults to opening via web browser. class OpenUrlAction # Type of the URI. module UrlTypeHint # Unspecified URL_TYPE_HINT_UNSPECIFIED = 0 # Url would be an amp action AMP_ACTION = 1 # URL that points directly to AMP content, or to a canonical URL # which refers to AMP content via <link rel="amphtml">. AMP_CONTENT = 2 end end end |
#footer ⇒ String
Returns Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.
534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 534 class BrowseCarouselCardItem # Actions on Google action to open a given url. # @!attribute [rw] url # @return [String] # Required. URL # @!attribute [rw] url_type_hint # @return [Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction::UrlTypeHint] # Optional. Specifies the type of viewer that is used when opening # the URL. Defaults to opening via web browser. class OpenUrlAction # Type of the URI. module UrlTypeHint # Unspecified URL_TYPE_HINT_UNSPECIFIED = 0 # Url would be an amp action AMP_ACTION = 1 # URL that points directly to AMP content, or to a canonical URL # which refers to AMP content via <link rel="amphtml">. AMP_CONTENT = 2 end end end |
#image ⇒ Google::Cloud::Dialogflow::V2::Intent::Message::Image
Returns Optional. Hero image for the carousel item.
534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 534 class BrowseCarouselCardItem # Actions on Google action to open a given url. # @!attribute [rw] url # @return [String] # Required. URL # @!attribute [rw] url_type_hint # @return [Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction::UrlTypeHint] # Optional. Specifies the type of viewer that is used when opening # the URL. Defaults to opening via web browser. class OpenUrlAction # Type of the URI. module UrlTypeHint # Unspecified URL_TYPE_HINT_UNSPECIFIED = 0 # Url would be an amp action AMP_ACTION = 1 # URL that points directly to AMP content, or to a canonical URL # which refers to AMP content via <link rel="amphtml">. AMP_CONTENT = 2 end end end |
#open_uri_action ⇒ Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction
Returns Required. Action to present to the user.
534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 534 class BrowseCarouselCardItem # Actions on Google action to open a given url. # @!attribute [rw] url # @return [String] # Required. URL # @!attribute [rw] url_type_hint # @return [Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction::UrlTypeHint] # Optional. Specifies the type of viewer that is used when opening # the URL. Defaults to opening via web browser. class OpenUrlAction # Type of the URI. module UrlTypeHint # Unspecified URL_TYPE_HINT_UNSPECIFIED = 0 # Url would be an amp action AMP_ACTION = 1 # URL that points directly to AMP content, or to a canonical URL # which refers to AMP content via <link rel="amphtml">. AMP_CONTENT = 2 end end end |
#title ⇒ String
Returns Required. Title of the carousel item. Maximum of two lines of text.
534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 534 class BrowseCarouselCardItem # Actions on Google action to open a given url. # @!attribute [rw] url # @return [String] # Required. URL # @!attribute [rw] url_type_hint # @return [Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction::UrlTypeHint] # Optional. Specifies the type of viewer that is used when opening # the URL. Defaults to opening via web browser. class OpenUrlAction # Type of the URI. module UrlTypeHint # Unspecified URL_TYPE_HINT_UNSPECIFIED = 0 # Url would be an amp action AMP_ACTION = 1 # URL that points directly to AMP content, or to a canonical URL # which refers to AMP content via <link rel="amphtml">. AMP_CONTENT = 2 end end end |