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

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

Instance Attribute Details

#description::String

Returns Optional. Description of the carousel item. Maximum of four lines of text.

Returns:

  • (::String)

    Optional. Description of the carousel item. Maximum of four lines of text.



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 677

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

Returns Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.

Returns:

  • (::String)

    Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 677

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.

Returns:



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 677

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.



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 677

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.

Returns:

  • (::String)

    Required. Title of the carousel item. Maximum of two lines of text.



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 677

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