public enum GcpEnvironment extends Enum<GcpEnvironment>
Enum Constant and Description |
---|
APP_ENGINE_FLEXIBLE
Matches App Engine Flexible instances.
|
APP_ENGINE_STANDARD
Matches App Engine Standard instances.
|
COMPUTE_ENGINE
Matches instances of Compute Engine that are not also AppEngine Flexible.
|
KUBERNETES_ENGINE
Matches Kubernetes instances.
|
UNKNOWN
Matches nothing; environment cannot be identified.
|
Modifier and Type | Method and Description |
---|---|
static GcpEnvironment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GcpEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GcpEnvironment KUBERNETES_ENGINE
public static final GcpEnvironment APP_ENGINE_FLEXIBLE
public static final GcpEnvironment APP_ENGINE_STANDARD
public static final GcpEnvironment COMPUTE_ENGINE
public static final GcpEnvironment UNKNOWN
public static GcpEnvironment[] values()
for (GcpEnvironment c : GcpEnvironment.values()) System.out.println(c);
public static GcpEnvironment 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 © 2021. All rights reserved.