@maxim_mazurok/gapi.client.cloudfunctions-v1 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.
- package/index.d.ts +16 -28
- package/package.json +1 -1
- 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:
|
|
12
|
+
// Revision: 20230420
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -251,10 +251,6 @@ 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
|
-
}
|
|
258
254
|
interface GoogleCloudFunctionsV2alphaOperationMetadata {
|
|
259
255
|
/** API version used to start the operation. */
|
|
260
256
|
apiVersion?: string;
|
|
@@ -270,7 +266,7 @@ declare namespace gapi.client {
|
|
|
270
266
|
/** The original request that started the operation. */
|
|
271
267
|
requestResource?: { [P in string]: any };
|
|
272
268
|
/** Mechanism for reporting in-progress stages */
|
|
273
|
-
stages?:
|
|
269
|
+
stages?: GoogleCloudFunctionsV2alphaStage[];
|
|
274
270
|
/** Human-readable status of the operation, if any. */
|
|
275
271
|
statusDetail?: string;
|
|
276
272
|
/** Server-defined resource path for the target of the operation. */
|
|
@@ -278,6 +274,20 @@ declare namespace gapi.client {
|
|
|
278
274
|
/** Name of the verb executed by the operation. */
|
|
279
275
|
verb?: string;
|
|
280
276
|
}
|
|
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
|
+
}
|
|
281
291
|
interface GoogleCloudFunctionsV2alphaStateMessage {
|
|
282
292
|
/** The message. */
|
|
283
293
|
message?: string;
|
|
@@ -286,10 +296,6 @@ declare namespace gapi.client {
|
|
|
286
296
|
/** One-word CamelCase type of the state message. */
|
|
287
297
|
type?: string;
|
|
288
298
|
}
|
|
289
|
-
interface GoogleCloudFunctionsV2betaLocationMetadata {
|
|
290
|
-
/** The Cloud Function environments this location supports. */
|
|
291
|
-
environments?: string[];
|
|
292
|
-
}
|
|
293
299
|
interface GoogleCloudFunctionsV2betaOperationMetadata {
|
|
294
300
|
/** API version used to start the operation. */
|
|
295
301
|
apiVersion?: string;
|
|
@@ -421,10 +427,6 @@ declare namespace gapi.client {
|
|
|
421
427
|
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
422
428
|
name?: string;
|
|
423
429
|
}
|
|
424
|
-
interface LocationMetadata {
|
|
425
|
-
/** The Cloud Function environments this location supports. */
|
|
426
|
-
environments?: string[];
|
|
427
|
-
}
|
|
428
430
|
interface Operation {
|
|
429
431
|
/** 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. */
|
|
430
432
|
done?: boolean;
|
|
@@ -564,20 +566,6 @@ declare namespace gapi.client {
|
|
|
564
566
|
*/
|
|
565
567
|
url?: string;
|
|
566
568
|
}
|
|
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
|
-
}
|
|
581
569
|
interface Status {
|
|
582
570
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
583
571
|
code?: number;
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230420
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|