Class GcePersistentDisk
An EphemeralDirectory is backed by a Compute Engine persistent disk.
Implements
Inherited Members
Namespace: Google.Apis.CloudWorkstations.v1beta.Data
Assembly: Google.Apis.CloudWorkstations.v1beta.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. 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. This field is mutable.
Declaration
[JsonProperty("sourceSnapshot")]
public virtual string SourceSnapshot { get; set; }
Property Value
Type | Description |
---|---|
string |