@maxim_mazurok/gapi.client.cloudfunctions-v2beta 0.0.20230415 → 0.0.20230420

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 -28
  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=v2beta
12
- // Revision: 20230415
12
+ // Revision: 20230420
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -208,10 +208,6 @@ declare namespace gapi.client {
208
208
  /** 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. */
209
209
  uploadUrl?: string;
210
210
  }
211
- interface GoogleCloudFunctionsV2alphaLocationMetadata {
212
- /** The Cloud Function environments this location supports. */
213
- environments?: string[];
214
- }
215
211
  interface GoogleCloudFunctionsV2alphaOperationMetadata {
216
212
  /** API version used to start the operation. */
217
213
  apiVersion?: string;
@@ -227,7 +223,7 @@ declare namespace gapi.client {
227
223
  /** The original request that started the operation. */
228
224
  requestResource?: { [P in string]: any };
229
225
  /** Mechanism for reporting in-progress stages */
230
- stages?: Stage[];
226
+ stages?: GoogleCloudFunctionsV2alphaStage[];
231
227
  /** Human-readable status of the operation, if any. */
232
228
  statusDetail?: string;
233
229
  /** Server-defined resource path for the target of the operation. */
@@ -235,6 +231,20 @@ declare namespace gapi.client {
235
231
  /** Name of the verb executed by the operation. */
236
232
  verb?: string;
237
233
  }
234
+ interface GoogleCloudFunctionsV2alphaStage {
235
+ /** Message describing the Stage */
236
+ message?: string;
237
+ /** Name of the Stage. This will be unique for each Stage. */
238
+ name?: string;
239
+ /** Resource of the Stage */
240
+ resource?: string;
241
+ /** Link to the current Stage resource */
242
+ resourceUri?: string;
243
+ /** Current state of the Stage */
244
+ state?: string;
245
+ /** State messages from the current Stage. */
246
+ stateMessages?: GoogleCloudFunctionsV2alphaStateMessage[];
247
+ }
238
248
  interface GoogleCloudFunctionsV2alphaStateMessage {
239
249
  /** The message. */
240
250
  message?: string;
@@ -243,10 +253,6 @@ declare namespace gapi.client {
243
253
  /** One-word CamelCase type of the state message. */
244
254
  type?: string;
245
255
  }
246
- interface GoogleCloudFunctionsV2betaLocationMetadata {
247
- /** The Cloud Function environments this location supports. */
248
- environments?: string[];
249
- }
250
256
  interface GoogleCloudFunctionsV2betaOperationMetadata {
251
257
  /** API version used to start the operation. */
252
258
  apiVersion?: string;
@@ -374,10 +380,6 @@ declare namespace gapi.client {
374
380
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
375
381
  name?: string;
376
382
  }
377
- interface LocationMetadata {
378
- /** The Cloud Function environments this location supports. */
379
- environments?: string[];
380
- }
381
383
  interface Operation {
382
384
  /** 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. */
383
385
  done?: boolean;
@@ -600,20 +602,6 @@ declare namespace gapi.client {
600
602
  /** A copy of the build's `source.storage_source`, if exists, with any generations resolved. */
601
603
  resolvedStorageSource?: StorageSource;
602
604
  }
603
- interface Stage {
604
- /** Message describing the Stage */
605
- message?: string;
606
- /** Name of the Stage. This will be unique for each Stage. */
607
- name?: string;
608
- /** Resource of the Stage */
609
- resource?: string;
610
- /** Link to the current Stage resource */
611
- resourceUri?: string;
612
- /** Current state of the Stage */
613
- state?: string;
614
- /** State messages from the current Stage. */
615
- stateMessages?: GoogleCloudFunctionsV2alphaStateMessage[];
616
- }
617
605
  interface Status {
618
606
  /** The status code, which should be an enum value of google.rpc.Code. */
619
607
  code?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudfunctions-v2beta",
3
- "version": "0.0.20230415",
3
+ "version": "0.0.20230420",
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: 20230415
6
+ // Revision: 20230420
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */