Class: Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/intent.rb
Overview
Actions on Google action to open a given url.
Defined Under Namespace
Modules: UrlTypeHint
Instance Attribute Summary collapse
-
#url ⇒ ::String
Required.
-
#url_type_hint ⇒ ::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction::UrlTypeHint
Optional.
Instance Attribute Details
#url ⇒ ::String
Returns Required. URL.
689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 689 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 |
#url_type_hint ⇒ ::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction::UrlTypeHint
Returns Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser.
689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 689 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 |