public static enum ComputeEngineCredentials.BindingEnforcement extends Enum<ComputeEngineCredentials.BindingEnforcement>
ComputeEngineCredentials.BindingEnforcement specifies how binding info in tokens will be enforced.
Behavior of setting ComputeEngineCredentials.GoogleAuthTransport / ComputeEngineCredentials.BindingEnforcement:
MTLS-bound token where binding enforcement depends on IAM policy: MTLS / {}, {} / IAM_POLICY, MTLS / IAM_POLICY
MTLS-bound token where bindings are always enforced: {} / ON, MTLS / ON
DirectPath bound token: ALTS / {}
| Enum Constant and Description |
|---|
IAM_POLICY |
ON |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
static ComputeEngineCredentials.BindingEnforcement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComputeEngineCredentials.BindingEnforcement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComputeEngineCredentials.BindingEnforcement ON
public static final ComputeEngineCredentials.BindingEnforcement IAM_POLICY
public static ComputeEngineCredentials.BindingEnforcement[] values()
for (ComputeEngineCredentials.BindingEnforcement c : ComputeEngineCredentials.BindingEnforcement.values()) System.out.println(c);
public static ComputeEngineCredentials.BindingEnforcement 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 nullpublic String getLabel()
Copyright © 2025 Google. All rights reserved.