Google Cloud Retail V2 Client - Class ModelFeaturesConfig (2.1.0)

Reference documentation and code samples for the Google Cloud Retail V2 Client class ModelFeaturesConfig.

Additional model features config.

Generated from protobuf message google.cloud.retail.v2.Model.ModelFeaturesConfig

Namespace

Google \ Cloud \ Retail \ V2 \ Model

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ frequently_bought_together_config Google\Cloud\Retail\V2\Model\FrequentlyBoughtTogetherFeaturesConfig

Additional configs for frequently-bought-together models.

getFrequentlyBoughtTogetherConfig

Additional configs for frequently-bought-together models.

Returns
Type Description
Google\Cloud\Retail\V2\Model\FrequentlyBoughtTogetherFeaturesConfig|null

hasFrequentlyBoughtTogetherConfig

setFrequentlyBoughtTogetherConfig

Additional configs for frequently-bought-together models.

Parameter
Name Description
var Google\Cloud\Retail\V2\Model\FrequentlyBoughtTogetherFeaturesConfig
Returns
Type Description
$this

getTypeDedicatedConfig

Returns
Type Description
string