Google Cloud Retail V2 Client - Class DynamicFacetSpec (1.0.1)

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

Methods

__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.

Generated from protobuf field .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec.Mode mode = 1;

Returns
Type
Description
int

setMode

Mode of the DynamicFacet feature.

Defaults to Mode.DISABLED if it's unset.

Generated from protobuf field .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec.Mode mode = 1;

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: