File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
javatests/com/google/auth/oauth2
java/com/google/auth/oauth2 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ public enum BindingEnforcement {
130130 // Binding enforcement will always happen, irrespective of the IAM policy.
131131 ON ("on" ),
132132 // Binding enforcement will depend on IAM policy.
133- IAMPOLICY ("iam-policy" );
133+ IAM_POLICY ("iam-policy" );
134134
135135 private final String label ;
136136
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ public void buildTokenUrlSoftMtlsBound_mtls_transport() {
229229 public void buildTokenUrlSoftMtlsBound_iam_enforcement () {
230230 ComputeEngineCredentials credentials =
231231 ComputeEngineCredentials .newBuilder ()
232- .setBindingEnforcement (ComputeEngineCredentials .BindingEnforcement .IAMPOLICY )
232+ .setBindingEnforcement (ComputeEngineCredentials .BindingEnforcement .IAM_POLICY )
233233 .build ();
234234 String softBoundTokenUrl = credentials .createTokenUrlWithScopes ();
235235
@@ -241,7 +241,7 @@ public void buildTokenUrlSoftMtlsBound_mtls_transport_iam_enforcement() {
241241 ComputeEngineCredentials credentials =
242242 ComputeEngineCredentials .newBuilder ()
243243 .setTransport (ComputeEngineCredentials .AuthTransport .MTLS )
244- .setBindingEnforcement (ComputeEngineCredentials .BindingEnforcement .IAMPOLICY )
244+ .setBindingEnforcement (ComputeEngineCredentials .BindingEnforcement .IAM_POLICY )
245245 .build ();
246246 String softBoundTokenUrl = credentials .createTokenUrlWithScopes ();
247247
You can’t perform that action at this time.
0 commit comments