0.10.4 (latest) 0.10.3 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.5 0.1.7

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

Specifies the reservations that this instance can consume
from.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `consume_allocation_type` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.AllocationAffinity.Type` Optional. Specifies the type of reservation from which this instance can consume This field is a member of `oneof`_ `_consume_allocation_type`. |
| `key` | `str` Optional. Corresponds to the label key of a reservation resource. This field is a member of `oneof`_ `_key`. |
| `values` | `MutableSequence[str]` Optional. Corresponds to the label values of a reservation resource. |

## Classes

### Type

    Type(value)

Indicates whether to consume from a reservation or not.