Skip to content

Commit e899db5

Browse files
committed
regenerate integration tests
1 parent 4f9cc8a commit e899db5

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

test/integration/goldens/compute/com/google/cloud/compute/v1/stub/AddressesStubSettings.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ public static String getDefaultEndpoint() {
135135
return "compute.googleapis.com:443";
136136
}
137137

138+
/** Returns the default mTLS service endpoint. */
139+
public static String getDefaultMtlsEndpoint() {
140+
return "compute.mtls.googleapis.com:443";
141+
}
142+
138143
/** Returns the default service scopes. */
139144
public static List<String> getDefaultServiceScopes() {
140145
return DEFAULT_SERVICE_SCOPES;
@@ -254,6 +259,8 @@ private static Builder createDefault() {
254259
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
255260
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
256261
builder.setEndpoint(getDefaultEndpoint());
262+
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
263+
builder.setSwitchToMtlsEndpointAllowed(true);
257264

258265
return initDefaults(builder);
259266
}

test/integration/goldens/compute/com/google/cloud/compute/v1/stub/RegionOperationsStubSettings.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ public static String getDefaultEndpoint() {
112112
return "compute.googleapis.com:443";
113113
}
114114

115+
/** Returns the default mTLS service endpoint. */
116+
public static String getDefaultMtlsEndpoint() {
117+
return "compute.mtls.googleapis.com:443";
118+
}
119+
115120
/** Returns the default service scopes. */
116121
public static List<String> getDefaultServiceScopes() {
117122
return DEFAULT_SERVICE_SCOPES;
@@ -215,6 +220,8 @@ private static Builder createDefault() {
215220
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
216221
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
217222
builder.setEndpoint(getDefaultEndpoint());
223+
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
224+
builder.setSwitchToMtlsEndpointAllowed(true);
218225

219226
return initDefaults(builder);
220227
}

0 commit comments

Comments
 (0)