Recommender V1 Client - Class State (1.7.8)

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

Represents insight state.

Protobuf type google.cloud.recommender.v1.InsightStateInfo.State

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Unspecified state.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

ACTIVE

Value: 1

Insight is active. Content for ACTIVE insights can be updated by Google.

ACTIVE insights can be marked DISMISSED OR ACCEPTED.

Generated from protobuf enum ACTIVE = 1;

ACCEPTED

Value: 2

Some action has been taken based on this insight. Insights become accepted when a recommendation derived from the insight has been marked CLAIMED, SUCCEEDED, or FAILED. ACTIVE insights can also be marked ACCEPTED explicitly. Content for ACCEPTED insights is immutable. ACCEPTED insights can only be marked ACCEPTED (which may update state metadata).

Generated from protobuf enum ACCEPTED = 2;

DISMISSED

Value: 3

Insight is dismissed. Content for DISMISSED insights can be updated by Google. DISMISSED insights can be marked as ACTIVE.

Generated from protobuf enum DISMISSED = 3;