# Class ReservationBlock (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

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

Represents a reservation block resource.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `count` | `int` Output only. \[Output Only\] The number of resources that are allocated in this reservation block. This field is a member of `oneof`_ `_count`. |
| `creation_timestamp` | `str` Output only. \[Output Only\] Creation timestamp inRFC3339 text format. This field is a member of `oneof`_ `_creation_timestamp`. |
| `health_info` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.ReservationBlockHealthInfo` Output only. \[Output Only\] Health information for the reservation block. This field is a member of `oneof`_ `_health_info`. |
| `id` | `int` Output only. \[Output Only\] The unique identifier for the resource. This identifier is defined by the server. This field is a member of `oneof`_ `_id`. |
| `in_use_count` | `int` Output only. \[Output Only\] The number of instances that are currently in use on this reservation block. This field is a member of `oneof`_ `_in_use_count`. |
| `in_use_host_count` | `int` Output only. Number of hosts currently in use. If there is one or more Instances running on the host, it is considered in use. This field is a member of `oneof`_ `_in_use_host_count`. |
| `kind` | `str` Output only. \[Output Only\] Type of the resource. Alwayscompute#reservationBlock for reservation blocks. This field is a member of `oneof`_ `_kind`. |
| `name` | `str` Output only. \[Output Only\] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern `a-z `__? This field is a member of `oneof`_ `_name`. |
| `physical_topology` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.ReservationBlockPhysicalTopology` Output only. \[Output Only\] The physical topology of the reservation block. This field is a member of `oneof`_ `_physical_topology`. |
| `reservation_maintenance` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.GroupMaintenanceInfo` Output only. \[Output Only\] Maintenance information for this reservation block. This field is a member of `oneof`_ `_reservation_maintenance`. |
| `reservation_sub_block_count` | `int` Output only. \[Output Only\] The number of reservation subBlocks associated with this reservation block. This field is a member of `oneof`_ `_reservation_sub_block_count`. |
| `reservation_sub_block_in_use_count` | `int` Output only. \[Output Only\] The number of in-use reservation subBlocks associated with this reservation block. If at least one VM is running on a subBlock, it is considered in-use. This field is a member of `oneof`_ `_reservation_sub_block_in_use_count`. |
| `self_link` | `str` Output only. \[Output Only\] Server-defined fully-qualified URL for this resource. This field is a member of `oneof`_ `_self_link`. |
| `self_link_with_id` | `str` Output only. \[Output Only\] Server-defined URL for this resource with the resource id. This field is a member of `oneof`_ `_self_link_with_id`. |
| `status` | `str` Output only. \[Output Only\] Status of the reservation block. Check the Status enum for the list of possible values. This field is a member of `oneof`_ `_status`. |
| `zone` | `str` Output only. \[Output Only\] Zone in which the reservation block resides. This field is a member of `oneof`_ `_zone`. |

## Classes

### Status

    Status(value)

Output only. \[Output Only\] Status of the reservation block.