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

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

Contains the impact a recommendation can have for a given
category.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `category` | `https://docs.cloud.google.com/python/docs/reference/recommender/latest/google.cloud.recommender_v1.types.Impact.Category` Category that is being targeted. |
| `cost_projection` | `https://docs.cloud.google.com/python/docs/reference/recommender/latest/google.cloud.recommender_v1.types.CostProjection` Use with CategoryType.COST This field is a member of `oneof`_ `projection`. |
| `security_projection` | `https://docs.cloud.google.com/python/docs/reference/recommender/latest/google.cloud.recommender_v1.types.SecurityProjection` Use with CategoryType.SECURITY This field is a member of `oneof`_ `projection`. |
| `sustainability_projection` | `https://docs.cloud.google.com/python/docs/reference/recommender/latest/google.cloud.recommender_v1.types.SustainabilityProjection` Use with CategoryType.SUSTAINABILITY This field is a member of `oneof`_ `projection`. |
| `reliability_projection` | `https://docs.cloud.google.com/python/docs/reference/recommender/latest/google.cloud.recommender_v1.types.ReliabilityProjection` Use with CategoryType.RELIABILITY This field is a member of `oneof`_ `projection`. |
| `service` | `str` The service that this impact is associated with. |

## Classes

### Category

    Category(value)

The category of the impact.