Class PersistentDirectory (0.8.2)

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

A directory to persist across workstation sessions. Updates to this field will not update existing workstations and will only take effect on new workstations.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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

Attributes

Name Description
gce_pd google.cloud.workstations_v1.types.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk
A PersistentDirectory backed by a Compute Engine persistent disk. This field is a member of oneof_ directory_type.
gce_hd google.cloud.workstations_v1.types.WorkstationConfig.PersistentDirectory.GceHyperdiskBalancedHighAvailability
A PersistentDirectory backed by a Compute Engine hyperdisk high availability disk. This field is a member of oneof_ directory_type.
mount_path str
Optional. Location of this directory in the running workstation.

Classes

GceHyperdiskBalancedHighAvailability

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

A Persistent Directory backed by a Compute Engine Hyperdisk Balanced High Availability Disk <https://cloud.google.com/compute/docs/disks/hd-types/hyperdisk-balanced-ha>__. This is a high-availability block storage solution that offers a balance between performance and cost for most general-purpose workloads.

GceRegionalPersistentDisk

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

A Persistent Directory backed by a Compute Engine regional persistent disk. The persistent_directories field is repeated, but it may contain only one entry. It creates a persistent disk <https://cloud.google.com/compute/docs/disks/persistent-disks>__ that mounts to the workstation VM at /home when the session starts and detaches when the session ends. If this field is empty, workstations created with this configuration do not have a persistent home directory.