Class Volume (1.0.0)

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

A storage volume.

Attributes

NameDescription
name str
Output only. The resource name of this ``Volume``. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: ``projects/{project}/locations/{location}/volumes/{volume}``
storage_type google.cloud.bare_metal_solution_v2.types.Volume.StorageType
The storage type for this volume.
state google.cloud.bare_metal_solution_v2.types.Volume.State
The state of this storage volume.
requested_size_gib int
The requested size of this storage volume, in GiB.
current_size_gib int
The current size of this storage volume, in GiB, including space reserved for snapshots. This size might be different than the requested size if the storage volume has been configured with auto grow or auto shrink.
auto_grown_size_gib int
The size, in GiB, that this storage volume has expanded as a result of an auto grow policy. In the absence of auto-grow, the value is 0.
remaining_space_gib int
The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.
snapshot_reservation_detail google.cloud.bare_metal_solution_v2.types.Volume.SnapshotReservationDetail
Details about snapshot space reservation and usage on the storage volume.
snapshot_auto_delete_behavior google.cloud.bare_metal_solution_v2.types.Volume.SnapshotAutoDeleteBehavior
The behavior to use when snapshot reserved space is full.
snapshot_schedule_policy str
The name of the snapshot schedule policy in use for this volume, if any.

Inheritance

builtins.object > proto.message.Message > Volume

Classes

SnapshotAutoDeleteBehavior

SnapshotAutoDeleteBehavior(value)

The kinds of auto delete behavior to use when snapshot reserved space is full.

SnapshotReservationDetail

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

Details about snapshot space reservation and usage on the storage volume.

State

State(value)

The possible states for a storage volume.

StorageType

StorageType(value)

The storage type for a volume.