@maxim_mazurok/gapi.client.cloudfunctions-v2beta 0.0.20230518 → 0.0.20230601

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 +10 -1
  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: 20230518
12
+ // Revision: 20230601
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -223,6 +223,9 @@ declare namespace gapi.client {
223
223
  /** Output only. The last update timestamp of a Cloud Function. */
224
224
  updateTime?:
225
225
  string;
226
+ /** Output only. The deployed url for the function. */
227
+ url?:
228
+ string;
226
229
  }
227
230
  // tslint:disable-next-line:no-empty-interface
228
231
  interface GenerateDownloadUrlRequest {
@@ -778,6 +781,9 @@ declare namespace gapi.client {
778
781
  string;
779
782
  }
780
783
  interface Source {
784
+ /** If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com///blob// */
785
+ gitUri?:
786
+ string;
781
787
  /** If provided, get the source from this location in a Cloud Source Repository. */
782
788
  repoSource?:
783
789
  RepoSource;
@@ -786,6 +792,9 @@ declare namespace gapi.client {
786
792
  StorageSource;
787
793
  }
788
794
  interface SourceProvenance {
795
+ /** A copy of the build's `source.git_uri`, if exists, with any commits resolved. */
796
+ gitUri?:
797
+ string;
789
798
  /** A copy of the build's `source.repo_source`, if exists, with any revisions resolved. */
790
799
  resolvedRepoSource?:
791
800
  RepoSource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudfunctions-v2beta",
3
- "version": "0.0.20230518",
3
+ "version": "0.0.20230601",
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: 20230518
6
+ // Revision: 20230601
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -51,6 +51,7 @@ gapi.load('client', async () => {
51
51
  },
52
52
  runtime: "Test string",
53
53
  source: {
54
+ gitUri: "Test string",
54
55
  repoSource: {
55
56
  branchName: "Test string",
56
57
  commitSha: "Test string",
@@ -67,6 +68,7 @@ gapi.load('client', async () => {
67
68
  },
68
69
  },
69
70
  sourceProvenance: {
71
+ gitUri: "Test string",
70
72
  resolvedRepoSource: {
71
73
  branchName: "Test string",
72
74
  commitSha: "Test string",
@@ -157,6 +159,7 @@ gapi.load('client', async () => {
157
159
  }
158
160
  ],
159
161
  updateTime: "Test string",
162
+ url: "Test string",
160
163
  });
161
164
  /** Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function. */
162
165
  await gapi.client.cloudfunctions.projects.locations.functions.delete({
@@ -215,6 +218,7 @@ gapi.load('client', async () => {
215
218
  },
216
219
  runtime: "Test string",
217
220
  source: {
221
+ gitUri: "Test string",
218
222
  repoSource: {
219
223
  branchName: "Test string",
220
224
  commitSha: "Test string",
@@ -231,6 +235,7 @@ gapi.load('client', async () => {
231
235
  },
232
236
  },
233
237
  sourceProvenance: {
238
+ gitUri: "Test string",
234
239
  resolvedRepoSource: {
235
240
  branchName: "Test string",
236
241
  commitSha: "Test string",
@@ -321,6 +326,7 @@ gapi.load('client', async () => {
321
326
  }
322
327
  ],
323
328
  updateTime: "Test string",
329
+ url: "Test string",
324
330
  });
325
331
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
326
332
  await gapi.client.cloudfunctions.projects.locations.functions.setIamPolicy({