@maxim_mazurok/gapi.client.cloudfunctions-v1 0.0.20231005 → 0.0.20231012

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 +8 -1
  2. package/package.json +1 -1
  3. package/tests.ts +2 -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=v1
12
- // Revision: 20231005
12
+ // Revision: 20231012
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1280,6 +1280,13 @@ declare namespace gapi.client {
1280
1280
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1281
1281
  uploadType?:
1282
1282
  string;
1283
+ /**
1284
+ * Optional. The optional version of the function whose details should be obtained. The version of a 1st Gen function is an integer that starts from 1 and gets incremented on
1285
+ * redeployments. Each deployment creates a config version of the underlying function. GCF may keep historical configs for old versions. This field can be specified to fetch the
1286
+ * historical configs. Leave it blank or set to 0 to get the latest version of the function.
1287
+ */
1288
+ versionId?:
1289
+ string;
1283
1290
  }): Request<CloudFunction>;
1284
1291
  /** Gets the IAM access control policy for a function. Returns an empty policy if the function exists and does not have a policy set. */
1285
1292
  getIamPolicy(request?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudfunctions-v1",
3
- "version": "0.0.20231005",
3
+ "version": "0.0.20231012",
4
4
  "description": "TypeScript typings for Cloud Functions API v1",
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: 20231005
6
+ // Revision: 20231012
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -162,6 +162,7 @@ gapi.load('client', async () => {
162
162
  /** Returns a function with the given name from the requested project. */
163
163
  await gapi.client.cloudfunctions.projects.locations.functions.get({
164
164
  name: "Test string",
165
+ versionId: "Test string",
165
166
  });
166
167
  /** Gets the IAM access control policy for a function. Returns an empty policy if the function exists and does not have a policy set. */
167
168
  await gapi.client.cloudfunctions.projects.locations.functions.getIamPolicy({