public static enum ComputeEngineCredentials.GoogleAuthTransport extends Enum<ComputeEngineCredentials.GoogleAuthTransport>
ComputeEngineCredentials.GoogleAuthTransport specifies how to authenticate to Google APIs.
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 / {}
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
static ComputeEngineCredentials.GoogleAuthTransport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComputeEngineCredentials.GoogleAuthTransport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComputeEngineCredentials.GoogleAuthTransport ALTS
public static final ComputeEngineCredentials.GoogleAuthTransport MTLS
public static ComputeEngineCredentials.GoogleAuthTransport[] values()
for (ComputeEngineCredentials.GoogleAuthTransport c : ComputeEngineCredentials.GoogleAuthTransport.values()) System.out.println(c);
public static ComputeEngineCredentials.GoogleAuthTransport 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.