Class GceRegionalPersistentDisk (0.1.1)

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

A PersistentDirectory backed by a Compute Engine regional persistent disk.

Attributes

NameDescription
size_gb int
Size of the disk in GB. Must be empty if source_snapshot is set.
fs_type str
Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if source_snapshot is set.
disk_type str
Type of the disk to use.
source_snapshot str
Name of the snapshot to use as the source for the disk. If set, size_gb and fs_type must be empty.
reclaim_policy google.cloud.workstations_v1beta.types.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy
What should happen to the disk after the workstation is deleted. Defaults to DELETE.

Classes

ReclaimPolicy

ReclaimPolicy(value)

Value representing what should happen to the disk after the workstation is deleted.

Values: RECLAIM_POLICY_UNSPECIFIED (0): Do not use. DELETE (1): The persistent disk will be deleted with the workstation. RETAIN (2): The persistent disk will be remain after the workstation is deleted, and the administrator must manually delete the disk.