public static enum ImageConfiguration.Type extends Enum<ImageConfiguration.Type>
Enum Constant and Description |
---|
DISK
A Google Compute Engine image created from a Google Compute Engine disk.
|
STORAGE
A Google Compute Engine image created from a file saved in Google Cloud Storage.
|
Modifier and Type | Method and Description |
---|---|
static ImageConfiguration.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageConfiguration.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageConfiguration.Type DISK
public static final ImageConfiguration.Type STORAGE
public static ImageConfiguration.Type[] values()
for (ImageConfiguration.Type c : ImageConfiguration.Type.values()) System.out.println(c);
public static ImageConfiguration.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Google LLC. All rights reserved.