# Class InsightTypeConfig (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

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

Configuration for an InsightType.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. Name of insight type config. Eg, projects/\[PROJECT_NUMBER\]/locations/\[LOCATION\]/insightTypes/\[INSIGHT_TYPE_ID\]/config |
| `insight_type_generation_config` | `https://docs.cloud.google.com/python/docs/reference/recommender/latest/google.cloud.recommender_v1.types.InsightTypeGenerationConfig` InsightTypeGenerationConfig which configures the generation of insights for this insight type. |
| `etag` | `str` Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Last time when the config was updated. |
| `revision_id` | `str` Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string. |
| `annotations` | `MutableMapping[str, str]` Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (\\_), dots (.), and alphanumerics between. |
| `display_name` | `str` A user-settable field to provide a human-readable name to be used in user interfaces. |

## Classes

### AnnotationsEntry

    AnnotationsEntry(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. |