@maxim_mazurok/gapi.client.cloudfunctions-v2beta 0.0.20230524 → 0.0.20230608

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 +13 -7
  2. package/package.json +1 -1
  3. package/tests.ts +5 -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: 20230524
12
+ // Revision: 20230608
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -267,8 +267,8 @@ declare namespace gapi.client {
267
267
  apiVersion?:
268
268
  string;
269
269
  /**
270
- * Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of
271
- * 1, corresponding to `Code.CANCELLED`.
270
+ * Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a
271
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
272
272
  */
273
273
  cancelRequested?:
274
274
  boolean;
@@ -335,8 +335,8 @@ declare namespace gapi.client {
335
335
  apiVersion?:
336
336
  string;
337
337
  /**
338
- * Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of
339
- * 1, corresponding to `Code.CANCELLED`.
338
+ * Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a
339
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
340
340
  */
341
341
  cancelRequested?:
342
342
  boolean;
@@ -403,8 +403,8 @@ declare namespace gapi.client {
403
403
  apiVersion?:
404
404
  string;
405
405
  /**
406
- * Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of
407
- * 1, corresponding to `Code.CANCELLED`.
406
+ * Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a
407
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
408
408
  */
409
409
  cancelRequested?:
410
410
  boolean;
@@ -781,6 +781,9 @@ declare namespace gapi.client {
781
781
  string;
782
782
  }
783
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;
784
787
  /** If provided, get the source from this location in a Cloud Source Repository. */
785
788
  repoSource?:
786
789
  RepoSource;
@@ -789,6 +792,9 @@ declare namespace gapi.client {
789
792
  StorageSource;
790
793
  }
791
794
  interface SourceProvenance {
795
+ /** A copy of the build's `source.git_uri`, if exists, with any commits resolved. */
796
+ gitUri?:
797
+ string;
792
798
  /** A copy of the build's `source.repo_source`, if exists, with any revisions resolved. */
793
799
  resolvedRepoSource?:
794
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.20230524",
3
+ "version": "0.0.20230608",
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: 20230524
6
+ // Revision: 20230608
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",
@@ -216,6 +218,7 @@ gapi.load('client', async () => {
216
218
  },
217
219
  runtime: "Test string",
218
220
  source: {
221
+ gitUri: "Test string",
219
222
  repoSource: {
220
223
  branchName: "Test string",
221
224
  commitSha: "Test string",
@@ -232,6 +235,7 @@ gapi.load('client', async () => {
232
235
  },
233
236
  },
234
237
  sourceProvenance: {
238
+ gitUri: "Test string",
235
239
  resolvedRepoSource: {
236
240
  branchName: "Test string",
237
241
  commitSha: "Test string",