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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/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

#urlString

Returns Required. URL.

Returns:

  • (String)

    Required. URL



543
544
545
546
547
548
549
550
551
552
553
554
555
556
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 543

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

#url_type_hintGoogle::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:



543
544
545
546
547
548
549
550
551
552
553
554
555
556
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 543

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