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.
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 633 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.
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 633 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 |