# Class InsightStateInfo (2.22.0)

2.22.0 (latest) 2.21.0 2.20.0 2.19.0 2.18.2 2.17.0 2.16.1 2.15.5 2.14.0 2.13.0 2.12.0 2.11.2 2.10.1 2.9.0 2.8.3 2.7.4 2.6.0 2.5.1 2.4.0 2.3.4 2.2.0 2.1.0 2.0.0 1.1.3 1.0.0 0.3.0 0.2.0 0.1.0

    InsightStateInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information related to insight state.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `state` | `https://docs.cloud.google.com/python/docs/reference/recommender/latest/google.cloud.recommender_v1.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.

### 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, `.Message`]`` 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 `mapping` is a mapping type or there are keyword parameters. |