Recommender V1 Client - Class InsightStateInfo (1.8.2)

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

Information related to insight state.

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

Namespace

Google \ Cloud \ Recommender \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ state int

Insight state.

↳ state_metadata array|Google\Protobuf\Internal\MapField

A map of metadata for the state, provided by user or automations systems.

getState

Insight state.

Returns
TypeDescription
int

setState

Insight state.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStateMetadata

A map of metadata for the state, provided by user or automations systems.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setStateMetadata

A map of metadata for the state, provided by user or automations systems.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this