public static enum DeprecationStatus.Status extends Enum<DeprecationStatus.Status>
Enum Constant and Description |
---|
DELETED
Operations that create a Google Compute Engine entity using a deleted resource will be
rejected and result in an error.
|
DEPRECATED
Operations that create a Google Compute Engine entity using a deprecated resource will return
successfully but with a warning indicating the deprecation and suggesting a replacement.
|
OBSOLETE
Operations that create a Google Compute Engine entity using an obsolete resource will be
rejected and result in an error.
|
Modifier and Type | Method and Description |
---|---|
static DeprecationStatus.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeprecationStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeprecationStatus.Status DEPRECATED
public static final DeprecationStatus.Status OBSOLETE
public static final DeprecationStatus.Status DELETED
public static DeprecationStatus.Status[] values()
for (DeprecationStatus.Status c : DeprecationStatus.Status.values()) System.out.println(c);
public static DeprecationStatus.Status 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.