Show / Hide Table of Contents

Class GcePersistentDisk

An EphemeralDirectory is backed by a Compute Engine persistent disk.

Inheritance
object
GcePersistentDisk
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudWorkstations.v1.Data
Assembly: Google.Apis.CloudWorkstations.v1.dll
Syntax
public class GcePersistentDisk : IDirectResponseSchema

Properties

DiskType

Optional. Type of the disk to use. Defaults to "pd-standard".

Declaration
[JsonProperty("diskType")]
public virtual string DiskType { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ReadOnly__

Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.

Declaration
[JsonProperty("readOnly")]
public virtual bool? ReadOnly__ { get; set; }
Property Value
Type Description
bool?

SourceImage

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.

Declaration
[JsonProperty("sourceImage")]
public virtual string SourceImage { get; set; }
Property Value
Type Description
string

SourceSnapshot

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.

Declaration
[JsonProperty("sourceSnapshot")]
public virtual string SourceSnapshot { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX