Skip to content
Permalink
Browse files
feat: Secret Manager integration fields 'secret_environment_variables…
…' and 'secret_volumes' added feat: CMEK integration fields 'kms_key_name' and 'docker_repository' added (#328)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 407654258

Source-Link: googleapis/googleapis@09b2576

Source-Link: https://github.com/googleapis/googleapis-gen/commit/28d38540e7a574ce249f65ff0228533129cd120c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjhkMzg1NDBlN2E1NzRjZTI0OWY2NWZmMDIyODUzMzEyOWNkMTIwYyJ9
  • Loading branch information
gcf-owl-bot[bot] committed Nov 4, 2021
1 parent 88f58a7 commit ea30e8c7625145df60773dbae78923159e9997b9
@@ -168,10 +168,19 @@ public void getFunctionTest() throws Exception {
.setVersionId(-670497310)
.putAllLabels(new HashMap<String, String>())
.putAllEnvironmentVariables(new HashMap<String, String>())
.putAllBuildEnvironmentVariables(new HashMap<String, String>())
.setNetwork("network1843485230")
.setMaxInstances(-330682013)
.setMinInstances(1491624145)
.setVpcConnector("vpcConnector2101559652")
.setKmsKeyName("kmsKeyName412586233")
.setBuildWorkerPool("buildWorkerPool1011442120")
.setBuildId("buildId230943785")
.setBuildName("buildName-1401172455")
.addAllSecretEnvironmentVariables(new ArrayList<SecretEnvVar>())
.addAllSecretVolumes(new ArrayList<SecretVolume>())
.setSourceToken("sourceToken-94946658")
.setDockerRepository("dockerRepository1588395402")
.build();
mockCloudFunctionsService.addResponse(expectedResponse);

@@ -221,10 +230,19 @@ public void getFunctionTest2() throws Exception {
.setVersionId(-670497310)
.putAllLabels(new HashMap<String, String>())
.putAllEnvironmentVariables(new HashMap<String, String>())
.putAllBuildEnvironmentVariables(new HashMap<String, String>())
.setNetwork("network1843485230")
.setMaxInstances(-330682013)
.setMinInstances(1491624145)
.setVpcConnector("vpcConnector2101559652")
.setKmsKeyName("kmsKeyName412586233")
.setBuildWorkerPool("buildWorkerPool1011442120")
.setBuildId("buildId230943785")
.setBuildName("buildName-1401172455")
.addAllSecretEnvironmentVariables(new ArrayList<SecretEnvVar>())
.addAllSecretVolumes(new ArrayList<SecretVolume>())
.setSourceToken("sourceToken-94946658")
.setDockerRepository("dockerRepository1588395402")
.build();
mockCloudFunctionsService.addResponse(expectedResponse);

@@ -274,10 +292,19 @@ public void createFunctionTest() throws Exception {
.setVersionId(-670497310)
.putAllLabels(new HashMap<String, String>())
.putAllEnvironmentVariables(new HashMap<String, String>())
.putAllBuildEnvironmentVariables(new HashMap<String, String>())
.setNetwork("network1843485230")
.setMaxInstances(-330682013)
.setMinInstances(1491624145)
.setVpcConnector("vpcConnector2101559652")
.setKmsKeyName("kmsKeyName412586233")
.setBuildWorkerPool("buildWorkerPool1011442120")
.setBuildId("buildId230943785")
.setBuildName("buildName-1401172455")
.addAllSecretEnvironmentVariables(new ArrayList<SecretEnvVar>())
.addAllSecretVolumes(new ArrayList<SecretVolume>())
.setSourceToken("sourceToken-94946658")
.setDockerRepository("dockerRepository1588395402")
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -338,10 +365,19 @@ public void createFunctionTest2() throws Exception {
.setVersionId(-670497310)
.putAllLabels(new HashMap<String, String>())
.putAllEnvironmentVariables(new HashMap<String, String>())
.putAllBuildEnvironmentVariables(new HashMap<String, String>())
.setNetwork("network1843485230")
.setMaxInstances(-330682013)
.setMinInstances(1491624145)
.setVpcConnector("vpcConnector2101559652")
.setKmsKeyName("kmsKeyName412586233")
.setBuildWorkerPool("buildWorkerPool1011442120")
.setBuildId("buildId230943785")
.setBuildName("buildName-1401172455")
.addAllSecretEnvironmentVariables(new ArrayList<SecretEnvVar>())
.addAllSecretVolumes(new ArrayList<SecretVolume>())
.setSourceToken("sourceToken-94946658")
.setDockerRepository("dockerRepository1588395402")
.build();
Operation resultOperation =
Operation.newBuilder()
@@ -402,10 +438,19 @@ public void updateFunctionTest() throws Exception {
.setVersionId(-670497310)
.putAllLabels(new HashMap<String, String>())
.putAllEnvironmentVariables(new HashMap<String, String>())
.putAllBuildEnvironmentVariables(new HashMap<String, String>())
.setNetwork("network1843485230")
.setMaxInstances(-330682013)
.setMinInstances(1491624145)
.setVpcConnector("vpcConnector2101559652")
.setKmsKeyName("kmsKeyName412586233")
.setBuildWorkerPool("buildWorkerPool1011442120")
.setBuildId("buildId230943785")
.setBuildName("buildName-1401172455")
.addAllSecretEnvironmentVariables(new ArrayList<SecretEnvVar>())
.addAllSecretVolumes(new ArrayList<SecretVolume>())
.setSourceToken("sourceToken-94946658")
.setDockerRepository("dockerRepository1588395402")
.build();
Operation resultOperation =
Operation.newBuilder()

0 comments on commit ea30e8c

Please sign in to comment.