PersistentDirectory(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A directory to persist across workstation sessions.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
gce_pd |
google.cloud.workstations_v1beta.types.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk
A PersistentDirectory backed by a Compute Engine persistent disk. This field is a member of oneof _ directory_type .
|
mount_path |
str
Optional. Location of this directory in the running workstation. |
Classes
GceRegionalPersistentDisk
GceRegionalPersistentDisk(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A PersistentDirectory 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.