Recommender V1 Client - Class InsightTypeGenerationConfig (2.0.3)

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

A configuration to customize the generation of insights.

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

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

Namespace

Google \ Cloud \ Recommender \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ params Google\Protobuf\Struct

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

getParams

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

Returns
Type Description
Google\Protobuf\Struct|null

hasParams

clearParams

setParams

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

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this