@maxim_mazurok/gapi.client.cloudfunctions-v1 0.0.20230323 → 0.0.20230406

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 +28 -16
  2. package/package.json +1 -1
  3. package/tests.ts +1 -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: 20230323
12
+ // Revision: 20230406
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -251,6 +251,10 @@ declare namespace gapi.client {
251
251
  /** The generated Google Cloud Storage signed URL that should be used for a function source code upload. The uploaded file should be a zip archive which contains a function. */
252
252
  uploadUrl?: string;
253
253
  }
254
+ interface GoogleCloudFunctionsV2alphaLocationMetadata {
255
+ /** The Cloud Function environments this location supports. */
256
+ environments?: string[];
257
+ }
254
258
  interface GoogleCloudFunctionsV2alphaOperationMetadata {
255
259
  /** API version used to start the operation. */
256
260
  apiVersion?: string;
@@ -266,7 +270,7 @@ declare namespace gapi.client {
266
270
  /** The original request that started the operation. */
267
271
  requestResource?: { [P in string]: any };
268
272
  /** Mechanism for reporting in-progress stages */
269
- stages?: GoogleCloudFunctionsV2alphaStage[];
273
+ stages?: Stage[];
270
274
  /** Human-readable status of the operation, if any. */
271
275
  statusDetail?: string;
272
276
  /** Server-defined resource path for the target of the operation. */
@@ -274,20 +278,6 @@ declare namespace gapi.client {
274
278
  /** Name of the verb executed by the operation. */
275
279
  verb?: string;
276
280
  }
277
- interface GoogleCloudFunctionsV2alphaStage {
278
- /** Message describing the Stage */
279
- message?: string;
280
- /** Name of the Stage. This will be unique for each Stage. */
281
- name?: string;
282
- /** Resource of the Stage */
283
- resource?: string;
284
- /** Link to the current Stage resource */
285
- resourceUri?: string;
286
- /** Current state of the Stage */
287
- state?: string;
288
- /** State messages from the current Stage. */
289
- stateMessages?: GoogleCloudFunctionsV2alphaStateMessage[];
290
- }
291
281
  interface GoogleCloudFunctionsV2alphaStateMessage {
292
282
  /** The message. */
293
283
  message?: string;
@@ -296,6 +286,10 @@ declare namespace gapi.client {
296
286
  /** One-word CamelCase type of the state message. */
297
287
  type?: string;
298
288
  }
289
+ interface GoogleCloudFunctionsV2betaLocationMetadata {
290
+ /** The Cloud Function environments this location supports. */
291
+ environments?: string[];
292
+ }
299
293
  interface GoogleCloudFunctionsV2betaOperationMetadata {
300
294
  /** API version used to start the operation. */
301
295
  apiVersion?: string;
@@ -427,6 +421,10 @@ declare namespace gapi.client {
427
421
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
428
422
  name?: string;
429
423
  }
424
+ interface LocationMetadata {
425
+ /** The Cloud Function environments this location supports. */
426
+ environments?: string[];
427
+ }
430
428
  interface Operation {
431
429
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
432
430
  done?: boolean;
@@ -566,6 +564,20 @@ declare namespace gapi.client {
566
564
  */
567
565
  url?: string;
568
566
  }
567
+ interface Stage {
568
+ /** Message describing the Stage */
569
+ message?: string;
570
+ /** Name of the Stage. This will be unique for each Stage. */
571
+ name?: string;
572
+ /** Resource of the Stage */
573
+ resource?: string;
574
+ /** Link to the current Stage resource */
575
+ resourceUri?: string;
576
+ /** Current state of the Stage */
577
+ state?: string;
578
+ /** State messages from the current Stage. */
579
+ stateMessages?: GoogleCloudFunctionsV2alphaStateMessage[];
580
+ }
569
581
  interface Status {
570
582
  /** The status code, which should be an enum value of google.rpc.Code. */
571
583
  code?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudfunctions-v1",
3
- "version": "0.0.20230323",
3
+ "version": "0.0.20230406",
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: 20230323
6
+ // Revision: 20230406
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */