Class: Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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.
645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 645 class BrowseCarouselCardItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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.
645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 645 class BrowseCarouselCardItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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.
645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 645 class BrowseCarouselCardItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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.
645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 645 class BrowseCarouselCardItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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.
645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 645 class BrowseCarouselCardItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |