@@ -168,10 +168,19 @@ public void getFunctionTest() throws Exception {
168
168
.setVersionId (-670497310 )
169
169
.putAllLabels (new HashMap <String , String >())
170
170
.putAllEnvironmentVariables (new HashMap <String , String >())
171
+ .putAllBuildEnvironmentVariables (new HashMap <String , String >())
171
172
.setNetwork ("network1843485230" )
172
173
.setMaxInstances (-330682013 )
174
+ .setMinInstances (1491624145 )
173
175
.setVpcConnector ("vpcConnector2101559652" )
176
+ .setKmsKeyName ("kmsKeyName412586233" )
177
+ .setBuildWorkerPool ("buildWorkerPool1011442120" )
174
178
.setBuildId ("buildId230943785" )
179
+ .setBuildName ("buildName-1401172455" )
180
+ .addAllSecretEnvironmentVariables (new ArrayList <SecretEnvVar >())
181
+ .addAllSecretVolumes (new ArrayList <SecretVolume >())
182
+ .setSourceToken ("sourceToken-94946658" )
183
+ .setDockerRepository ("dockerRepository1588395402" )
175
184
.build ();
176
185
mockCloudFunctionsService .addResponse (expectedResponse );
177
186
@@ -221,10 +230,19 @@ public void getFunctionTest2() throws Exception {
221
230
.setVersionId (-670497310 )
222
231
.putAllLabels (new HashMap <String , String >())
223
232
.putAllEnvironmentVariables (new HashMap <String , String >())
233
+ .putAllBuildEnvironmentVariables (new HashMap <String , String >())
224
234
.setNetwork ("network1843485230" )
225
235
.setMaxInstances (-330682013 )
236
+ .setMinInstances (1491624145 )
226
237
.setVpcConnector ("vpcConnector2101559652" )
238
+ .setKmsKeyName ("kmsKeyName412586233" )
239
+ .setBuildWorkerPool ("buildWorkerPool1011442120" )
227
240
.setBuildId ("buildId230943785" )
241
+ .setBuildName ("buildName-1401172455" )
242
+ .addAllSecretEnvironmentVariables (new ArrayList <SecretEnvVar >())
243
+ .addAllSecretVolumes (new ArrayList <SecretVolume >())
244
+ .setSourceToken ("sourceToken-94946658" )
245
+ .setDockerRepository ("dockerRepository1588395402" )
228
246
.build ();
229
247
mockCloudFunctionsService .addResponse (expectedResponse );
230
248
@@ -274,10 +292,19 @@ public void createFunctionTest() throws Exception {
274
292
.setVersionId (-670497310 )
275
293
.putAllLabels (new HashMap <String , String >())
276
294
.putAllEnvironmentVariables (new HashMap <String , String >())
295
+ .putAllBuildEnvironmentVariables (new HashMap <String , String >())
277
296
.setNetwork ("network1843485230" )
278
297
.setMaxInstances (-330682013 )
298
+ .setMinInstances (1491624145 )
279
299
.setVpcConnector ("vpcConnector2101559652" )
300
+ .setKmsKeyName ("kmsKeyName412586233" )
301
+ .setBuildWorkerPool ("buildWorkerPool1011442120" )
280
302
.setBuildId ("buildId230943785" )
303
+ .setBuildName ("buildName-1401172455" )
304
+ .addAllSecretEnvironmentVariables (new ArrayList <SecretEnvVar >())
305
+ .addAllSecretVolumes (new ArrayList <SecretVolume >())
306
+ .setSourceToken ("sourceToken-94946658" )
307
+ .setDockerRepository ("dockerRepository1588395402" )
281
308
.build ();
282
309
Operation resultOperation =
283
310
Operation .newBuilder ()
@@ -338,10 +365,19 @@ public void createFunctionTest2() throws Exception {
338
365
.setVersionId (-670497310 )
339
366
.putAllLabels (new HashMap <String , String >())
340
367
.putAllEnvironmentVariables (new HashMap <String , String >())
368
+ .putAllBuildEnvironmentVariables (new HashMap <String , String >())
341
369
.setNetwork ("network1843485230" )
342
370
.setMaxInstances (-330682013 )
371
+ .setMinInstances (1491624145 )
343
372
.setVpcConnector ("vpcConnector2101559652" )
373
+ .setKmsKeyName ("kmsKeyName412586233" )
374
+ .setBuildWorkerPool ("buildWorkerPool1011442120" )
344
375
.setBuildId ("buildId230943785" )
376
+ .setBuildName ("buildName-1401172455" )
377
+ .addAllSecretEnvironmentVariables (new ArrayList <SecretEnvVar >())
378
+ .addAllSecretVolumes (new ArrayList <SecretVolume >())
379
+ .setSourceToken ("sourceToken-94946658" )
380
+ .setDockerRepository ("dockerRepository1588395402" )
345
381
.build ();
346
382
Operation resultOperation =
347
383
Operation .newBuilder ()
@@ -402,10 +438,19 @@ public void updateFunctionTest() throws Exception {
402
438
.setVersionId (-670497310 )
403
439
.putAllLabels (new HashMap <String , String >())
404
440
.putAllEnvironmentVariables (new HashMap <String , String >())
441
+ .putAllBuildEnvironmentVariables (new HashMap <String , String >())
405
442
.setNetwork ("network1843485230" )
406
443
.setMaxInstances (-330682013 )
444
+ .setMinInstances (1491624145 )
407
445
.setVpcConnector ("vpcConnector2101559652" )
446
+ .setKmsKeyName ("kmsKeyName412586233" )
447
+ .setBuildWorkerPool ("buildWorkerPool1011442120" )
408
448
.setBuildId ("buildId230943785" )
449
+ .setBuildName ("buildName-1401172455" )
450
+ .addAllSecretEnvironmentVariables (new ArrayList <SecretEnvVar >())
451
+ .addAllSecretVolumes (new ArrayList <SecretVolume >())
452
+ .setSourceToken ("sourceToken-94946658" )
453
+ .setDockerRepository ("dockerRepository1588395402" )
409
454
.build ();
410
455
Operation resultOperation =
411
456
Operation .newBuilder ()
0 commit comments