Recommender V1 Client - Class RecommenderGenerationConfig (1.9.1)

Reference documentation and code samples for the Recommender V1 Client class RecommenderGenerationConfig.

A Configuration to customize the generation of recommendations.

Eg, customizing the lookback period considered when generating a recommendation.

Generated from protobuf message google.cloud.recommender.v1.RecommenderGenerationConfig

Namespace

Google \ Cloud \ Recommender \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ params Google\Protobuf\Struct

Parameters for this RecommenderGenerationConfig. These configs can be used by or are applied to all subtypes.

getParams

Parameters for this RecommenderGenerationConfig. These configs can be used by or are applied to all subtypes.

Returns
TypeDescription
Google\Protobuf\Struct|null

hasParams

clearParams

setParams

Parameters for this RecommenderGenerationConfig. These configs can be used by or are applied to all subtypes.

Parameter
NameDescription
var Google\Protobuf\Struct
Returns
TypeDescription
$this