@maxim_mazurok/gapi.client.cloudfunctions-v2beta 0.0.20220921 → 0.0.20221027

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +16 -3
  2. package/package.json +1 -1
  3. package/tests.ts +7 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudfunctions.googleapis.com/$discovery/rest?version=v2beta
12
- // Revision: 20220921
12
+ // Revision: 20221027
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -67,9 +67,17 @@ declare namespace gapi.client {
67
67
  interface BuildConfig {
68
68
  /** Output only. The Cloud Build name of the latest successful deployment of the function. */
69
69
  build?: string;
70
+ /** Specifies one of the Google provided buildpack stacks. */
71
+ buildpackStack?: string;
70
72
  /**
71
- * Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be
72
- * pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern
73
+ * Optional. Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If
74
+ * `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be
75
+ * overridden by the backend for eligible deployments.
76
+ */
77
+ dockerRegistry?: string;
78
+ /**
79
+ * User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed
80
+ * after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern
73
81
  * `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format
74
82
  * must be 'DOCKER'.
75
83
  */
@@ -535,6 +543,11 @@ declare namespace gapi.client {
535
543
  secretEnvironmentVariables?: SecretEnvVar[];
536
544
  /** Secret volumes configuration. */
537
545
  secretVolumes?: SecretVolume[];
546
+ /**
547
+ * Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is
548
+ * optional for 1st Gen functions; 2nd Gen functions are https ONLY.
549
+ */
550
+ securityLevel?: string;
538
551
  /** Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` */
539
552
  service?: string;
540
553
  /** The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudfunctions-v2beta",
3
- "version": "0.0.20220921",
3
+ "version": "0.0.20221027",
4
4
  "description": "TypeScript typings for Cloud Functions API v2beta",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20220921
6
+ // Revision: 20221027
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -43,6 +43,8 @@ gapi.load('client', async () => {
43
43
  }, {
44
44
  buildConfig: {
45
45
  build: "Test string",
46
+ buildpackStack: "Test string",
47
+ dockerRegistry: "Test string",
46
48
  dockerRepository: "Test string",
47
49
  entryPoint: "Test string",
48
50
  environmentVariables: {
@@ -136,6 +138,7 @@ gapi.load('client', async () => {
136
138
  ],
137
139
  }
138
140
  ],
141
+ securityLevel: "Test string",
139
142
  service: "Test string",
140
143
  serviceAccountEmail: "Test string",
141
144
  timeoutSeconds: 42,
@@ -201,6 +204,8 @@ gapi.load('client', async () => {
201
204
  }, {
202
205
  buildConfig: {
203
206
  build: "Test string",
207
+ buildpackStack: "Test string",
208
+ dockerRegistry: "Test string",
204
209
  dockerRepository: "Test string",
205
210
  entryPoint: "Test string",
206
211
  environmentVariables: {
@@ -294,6 +299,7 @@ gapi.load('client', async () => {
294
299
  ],
295
300
  }
296
301
  ],
302
+ securityLevel: "Test string",
297
303
  service: "Test string",
298
304
  serviceAccountEmail: "Test string",
299
305
  timeoutSeconds: 42,