# Class Toleration (0.9.1)

0.9.1 (latest) 0.9.0 0.8.0 0.7.0 0.6.22 0.5.1 0.4.0 0.3.0 0.2.2 0.1.1

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

Toleration defines the fields for tolerations for pods
created by auto-installed components.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `key` | `str` Key is the taint key that the toleration applies to. |
| `value` | `str` Value is the taint value that the toleration applies to. |
| `key_operator` | `https://docs.cloud.google.com/python/docs/reference/gkemulticloud/latest/google.cloud.gke_multicloud_v1.types.Toleration.KeyOperator` KeyOperator represents a key's relationship to the value e.g. 'Exist'. |
| `effect` | `https://docs.cloud.google.com/python/docs/reference/gkemulticloud/latest/google.cloud.gke_multicloud_v1.types.Toleration.Effect` Effect indicates the taint effect to match e.g. 'NoSchedule' |

## Classes

### Effect

    Effect(value)

Effect indicates the taint effect to match e.g. 'NoSchedule'.

### KeyOperator

    KeyOperator(value)

KeyOperator represents a key's relationship to the value e.g.
'Equal'.