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).
Constructors
-
ComputeImageSource.disk(TfArg<
String> sourceDisk) -
Create the image from a Persistent Disk (name or self-link).
constfactory
-
ComputeImageSource.image(TfArg<
String> sourceImage) -
Create the image from another Image (name or self-link).
constfactory
- ComputeImageSource.rawDisk(ComputeImageRawDisk rawDisk)
-
Import the image from a tarball in Cloud Storage (
raw_disk).constfactory -
ComputeImageSource.snapshot(TfArg<
String> sourceSnapshot) -
Create the image from a Persistent Disk Snapshot (name or self-link).
constfactory
Properties
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