Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class HomepageSetting.
Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts.
Generated from protobuf message google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ WidgetConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ shortcuts |
array<HomepageSetting\Shortcut>
Optional. The shortcuts to display on the homepage. |
getShortcuts
Optional. The shortcuts to display on the homepage.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<HomepageSetting\Shortcut> |
|
setShortcuts
Optional. The shortcuts to display on the homepage.
| Parameter | |
|---|---|
| Name | Description |
var |
array<HomepageSetting\Shortcut>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|