InsightStateInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Information related to insight state.
Attributes | |
---|---|
Name | Description |
state |
google.cloud.recommender_v1beta1.types.InsightStateInfo.State
Insight state. |
state_metadata |
MutableMapping[str, str]
A map of metadata for the state, provided by user or automations systems. |
Classes
State
State(value)
Represents insight state.
Values: STATE_UNSPECIFIED (0): Unspecified state. ACTIVE (1): Insight is active. Content for ACTIVE insights can be updated by Google. ACTIVE insights can be marked DISMISSED OR ACCEPTED. ACCEPTED (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). DISMISSED (3): Insight is dismissed. Content for DISMISSED insights can be updated by Google. DISMISSED insights can be marked as ACTIVE.
StateMetadataEntry
StateMetadataEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |