Class: Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard::BrowseCarouselCardItem::OpenUrlAction

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#url::String

Returns Required. URL.

Returns:

  • (::String)

    Required. URL



657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 657

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.

Returns:



657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 657

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