Class HomepageSetting (0.20.6)

HomepageSetting(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts.

Attribute

Name Description
shortcuts MutableSequence[google.cloud.discoveryengine_v1.types.WidgetConfig.HomepageSetting.Shortcut]
Optional. The shortcuts to display on the homepage.

Classes

Shortcut

Shortcut(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.