VolumeResponse

data class VolumeResponse(val attached: Boolean, val autoGrownSizeGib: String, val bootVolume: Boolean, val currentSizeGib: String, val emergencySizeGib: String, val expireTime: String, val instances: List<String>, val labels: Map<String, String>, val maxSizeGib: String, val name: String, val notes: String, val originallyRequestedSizeGib: String, val performanceTier: String, val pod: String, val protocol: String, val remainingSpaceGib: String, val requestedSizeGib: String, val snapshotAutoDeleteBehavior: String, val snapshotEnabled: Boolean, val snapshotReservationDetail: SnapshotReservationDetailResponse, val snapshotSchedulePolicy: String, val state: String, val storageAggregatePool: String, val storageType: String, val workloadProfile: String)

A storage volume.

Constructors

Link copied to clipboard
fun VolumeResponse(attached: Boolean, autoGrownSizeGib: String, bootVolume: Boolean, currentSizeGib: String, emergencySizeGib: String, expireTime: String, instances: List<String>, labels: Map<String, String>, maxSizeGib: String, name: String, notes: String, originallyRequestedSizeGib: String, performanceTier: String, pod: String, protocol: String, remainingSpaceGib: String, requestedSizeGib: String, snapshotAutoDeleteBehavior: String, snapshotEnabled: Boolean, snapshotReservationDetail: SnapshotReservationDetailResponse, snapshotSchedulePolicy: String, state: String, storageAggregatePool: String, storageType: String, workloadProfile: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Is the Volume attached at at least one instance. This field is a lightweight counterpart of instances field. It is filled in List responses as well.

Link copied to clipboard

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.

Link copied to clipboard

Whether this volume is a boot volume. A boot volume is one which contains a boot LUN.

Link copied to clipboard

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.

Link copied to clipboard

Additional emergency size that was requested for this Volume, in GiB. current_size_gib includes this value.

Link copied to clipboard

Time after which volume will be fully deleted. It is filled only for volumes in COOLOFF state.

Link copied to clipboard

Instances this Volume is attached to. This field is set only in Get requests.

Link copied to clipboard

Labels as key value pairs.

Link copied to clipboard

Maximum size volume can be expanded to in case of evergency, in GiB.

Link copied to clipboard

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}

Link copied to clipboard

Input only. User-specified notes for new Volume. Used to provision Volumes that require manual intervention.

Link copied to clipboard

Originally requested size, in GiB.

Link copied to clipboard

Immutable. Performance tier of the Volume. Default is SHARED.

Link copied to clipboard
val pod: String

Immutable. Pod name.

Link copied to clipboard

Storage protocol for the Volume.

Link copied to clipboard

The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.

Link copied to clipboard

The requested size of this storage volume, in GiB.

Link copied to clipboard

The behavior to use when snapshot reserved space is full.

Link copied to clipboard

Whether snapshots are enabled.

Link copied to clipboard

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

Link copied to clipboard

The name of the snapshot schedule policy in use for this volume, if any.

Link copied to clipboard

The state of this storage volume.

Link copied to clipboard

Input only. Name of the storage aggregate pool to allocate the volume in. Can be used only for VOLUME_PERFORMANCE_TIER_ASSIGNED volumes.

Link copied to clipboard

The storage type for this volume.

Link copied to clipboard

The workload profile for the volume.