# Class Allocation (0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.0

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

Repesents Allocation which is part of aggregated
reservations data response of "QueryReservations".

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `specific_allocation` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.Allocation.SpecificSKUAllocation` Reservation for instances with specific machine shapes. This field is a member of `oneof`_ `type`. |
| `id` | `int` The unique identifier for the resource. This identifier is defined by the server. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` The creation timestamp for this allocation. |
| `zone` | `str` Zone in which the reservation resides. |
| `description` | `str` A description while creating reservation. |
| `allocation` | `str` The reservation resource name. |
| `status` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.Allocation.Status` The status of the reservation. |
| `share_settings` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.Allocation.ShareSettings` Specify share-settings to create a shared reservation. |
| `auto_delete_time` | `google.protobuf.timestamp_pb2.Timestamp` Absolute time in future when the reservation will be auto-deleted by Compute Engine. |

## Classes

### ShareSettings

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

The share setting for reservation.

### SpecificSKUAllocation

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

This reservation type allows to pre allocate specific
instance configuration.

### Status

    Status(value)

The status of the reservation.