Reference documentation and code samples for the Google Cloud Retail V2 Client class DynamicFacetSpec.
The specifications of dynamically generated facets.
Generated from protobuf message google.cloud.retail.v2.SearchRequest.DynamicFacetSpec
Namespace
Google \ Cloud \ Retail \ V2 \ SearchRequestMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ mode |
int
Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. |
getMode
Mode of the DynamicFacet feature.
Defaults to Mode.DISABLED if it's unset.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Mode. |
setMode
Mode of the DynamicFacet feature.
Defaults to Mode.DISABLED if it's unset.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Mode. |
| Returns | |
|---|---|
| Type | Description |
$this |
|