Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
feat: Secret Manager integration fields 'secret_environment_variables…
Browse files Browse the repository at this point in the history
…' 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: googleapis/googleapis-gen@28d3854
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjhkMzg1NDBlN2E1NzRjZTI0OWY2NWZmMDIyODUzMzEyOWNkMTIwYyJ9
  • Loading branch information
gcf-owl-bot[bot] committed Nov 4, 2021
1 parent 88f58a7 commit ea30e8c
Show file tree
Hide file tree
Showing 13 changed files with 8,071 additions and 201 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit ea30e8c

Please sign in to comment.