GcePersistentDiskResponse class

An EphemeralDirectory is backed by a Compute Engine persistent disk.

Constructors

GcePersistentDiskResponse({required Input<String> diskType, required Input<bool> readOnly, required Input<String> sourceImage, required Input<String> sourceSnapshot})
Creates a new GcePersistentDiskResponse. diskType Optional. Type of the disk to use. Defaults to "pd-standard". readOnly Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set. 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. 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.
const
GcePersistentDiskResponse.fromMap(Map<String, dynamic> map)
factory

Properties

diskType → Input<String>
Optional. Type of the disk to use. Defaults to "pd-standard".
final
hashCode → int
The hash code for this object.
no setterinherited
readOnly → Input<bool>
Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceImage → Input<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. This field is mutable.
final
sourceSnapshot → Input<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. This field is mutable.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited