Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::WidgetConfig::HomepageSetting::Shortcut (v2.14.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::WidgetConfig::HomepageSetting::Shortcut.

Describes an entity of shortcut (aka pinned content) on the homepage. The home page will render these shortcuts in the same order as what the API returns. If a customer wants to reorder or remove a shortcut, the UI should always provide the new full list of shortcuts.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#destination_uri

def destination_uri() -> ::String
Returns
  • (::String) — Optional. Destination URL of shortcut.

#destination_uri=

def destination_uri=(value) -> ::String
Parameter
  • value (::String) — Optional. Destination URL of shortcut.
Returns
  • (::String) — Optional. Destination URL of shortcut.

#icon

def icon() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::Image
Returns

#icon=

def icon=(value) -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::Image
Parameter
Returns

#title

def title() -> ::String
Returns
  • (::String) — Optional. Title of the shortcut.

#title=

def title=(value) -> ::String
Parameter
  • value (::String) — Optional. Title of the shortcut.
Returns
  • (::String) — Optional. Title of the shortcut.