ComputeImageSource class sealed

Image source for GoogleComputeImage. Sealed so callers pick exactly one of source_disk / source_image / source_snapshot / raw_disk at the type level (MM documents mutual exclusion in prose; there is no exactly_one_of metadata on this resource).

Implementers

Constructors

ComputeImageSource.disk(TfArg<String> sourceDisk)
Create the image from a Persistent Disk (name or self-link).
const
factory
ComputeImageSource.image(TfArg<String> sourceImage)
Create the image from another Image (name or self-link).
const
factory
ComputeImageSource.rawDisk(ComputeImageRawDisk rawDisk)
Import the image from a tarball in Cloud Storage (raw_disk).
const
factory
ComputeImageSource.snapshot(TfArg<String> sourceSnapshot)
Create the image from a Persistent Disk Snapshot (name or self-link).
const
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → TfArg<Object?>
Value written under blockKey.
no setter

Methods

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

Operators

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