Reference documentation and code samples for the Cloud Workstations V1 API class Google::Cloud::Workstations::V1::WorkstationConfig::EphemeralDirectory::GcePersistentDisk.
An EphemeralDirectory is backed by a Compute Engine persistent disk.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#disk_type
def disk_type() -> ::String-
(::String) — Optional. Type of the disk to use. Defaults to
"pd-standard".
#disk_type=
def disk_type=(value) -> ::String-
value (::String) — Optional. Type of the disk to use. Defaults to
"pd-standard".
-
(::String) — Optional. Type of the disk to use. Defaults to
"pd-standard".
#read_only
def read_only() -> ::Boolean- (::Boolean) — Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.
#read_only=
def read_only=(value) -> ::Boolean- value (::Boolean) — Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.
- (::Boolean) — Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.
#source_image
def source_image() -> ::String-
(::String) — Optional. Name of the disk image to use as the source for the disk.
Must be empty if
source_snapshot
is set. Updating
source_image
will update content in the ephemeral directory after the workstation is
restarted.
Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the COS documentation.
This field is mutable.
#source_image=
def source_image=(value) -> ::String-
value (::String) — Optional. Name of the disk image to use as the source for the disk.
Must be empty if
source_snapshot
is set. Updating
source_image
will update content in the ephemeral directory after the workstation is
restarted.
Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the COS documentation.
This field is mutable.
-
(::String) — Optional. Name of the disk image to use as the source for the disk.
Must be empty if
source_snapshot
is set. Updating
source_image
will update content in the ephemeral directory after the workstation is
restarted.
Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the COS documentation.
This field is mutable.
#source_snapshot
def source_snapshot() -> ::String-
(::String) — Optional. Name of the snapshot to use as the source for the disk. Must
be empty if
source_image
is set. Must be empty if
read_only
is false. Updating
source_snapshot
will update content in the ephemeral directory after the workstation is
restarted.
Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, see the filesystems available in Container-Optimized OS.
This field is mutable.
#source_snapshot=
def source_snapshot=(value) -> ::String-
value (::String) — Optional. Name of the snapshot to use as the source for the disk. Must
be empty if
source_image
is set. Must be empty if
read_only
is false. Updating
source_snapshot
will update content in the ephemeral directory after the workstation is
restarted.
Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, see the filesystems available in Container-Optimized OS.
This field is mutable.
-
(::String) — Optional. Name of the snapshot to use as the source for the disk. Must
be empty if
source_image
is set. Must be empty if
read_only
is false. Updating
source_snapshot
will update content in the ephemeral directory after the workstation is
restarted.
Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, see the filesystems available in Container-Optimized OS.
This field is mutable.