@maxim_mazurok/gapi.client.appengine-v1beta 0.0.20230731 → 0.0.20230807
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 +78 -4
- package/package.json +2 -2
- package/tests.ts +8 -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://appengine.googleapis.com/$discovery/rest?version=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230807
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -613,6 +613,14 @@ declare namespace gapi.client {
|
|
|
613
613
|
operations?:
|
|
614
614
|
Operation[];
|
|
615
615
|
}
|
|
616
|
+
interface ListRuntimesResponse {
|
|
617
|
+
/** Continuation token for fetching the next page of results. */
|
|
618
|
+
nextPageToken?:
|
|
619
|
+
string;
|
|
620
|
+
/** The runtimes available to the requested application. */
|
|
621
|
+
runtimes?:
|
|
622
|
+
Runtime[];
|
|
623
|
+
}
|
|
616
624
|
interface ListServicesResponse {
|
|
617
625
|
/** Continuation token for fetching the next page of results. */
|
|
618
626
|
nextPageToken?:
|
|
@@ -765,9 +773,9 @@ declare namespace gapi.client {
|
|
|
765
773
|
name?:
|
|
766
774
|
string;
|
|
767
775
|
/**
|
|
768
|
-
* The normal response of the operation
|
|
769
|
-
*
|
|
770
|
-
*
|
|
776
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is
|
|
777
|
+
* standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For
|
|
778
|
+
* example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
|
|
771
779
|
*/
|
|
772
780
|
response?:
|
|
773
781
|
{ [P in string]: any };
|
|
@@ -977,6 +985,20 @@ declare namespace gapi.client {
|
|
|
977
985
|
volumes?:
|
|
978
986
|
Volume[];
|
|
979
987
|
}
|
|
988
|
+
interface Runtime {
|
|
989
|
+
/** The environment of the runtime. */
|
|
990
|
+
environment?:
|
|
991
|
+
string;
|
|
992
|
+
/** The name of the runtime, e.g., 'go113', 'nodejs12', etc. */
|
|
993
|
+
name?:
|
|
994
|
+
string;
|
|
995
|
+
/** The stage of life this runtime is in, e.g., BETA, GA, etc. */
|
|
996
|
+
stage?:
|
|
997
|
+
string;
|
|
998
|
+
/** Warning messages, e.g., a deprecation warning. */
|
|
999
|
+
warnings?:
|
|
1000
|
+
string[];
|
|
1001
|
+
}
|
|
980
1002
|
interface ScriptHandler {
|
|
981
1003
|
/** Path to the script from the application root directory. */
|
|
982
1004
|
scriptPath?:
|
|
@@ -2579,6 +2601,56 @@ declare namespace gapi.client {
|
|
|
2579
2601
|
string;
|
|
2580
2602
|
}): Request<ListOperationsResponse>;
|
|
2581
2603
|
}
|
|
2604
|
+
interface RuntimesResource {
|
|
2605
|
+
/** Lists all the available runtimes for the application. */
|
|
2606
|
+
list(request?: {
|
|
2607
|
+
/** V1 error format. */
|
|
2608
|
+
"$.xgafv"?:
|
|
2609
|
+
string;
|
|
2610
|
+
/** OAuth access token. */
|
|
2611
|
+
access_token?:
|
|
2612
|
+
string;
|
|
2613
|
+
/** Data format for response. */
|
|
2614
|
+
alt?:
|
|
2615
|
+
string;
|
|
2616
|
+
/** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
|
|
2617
|
+
appsId:
|
|
2618
|
+
string;
|
|
2619
|
+
/** JSONP */
|
|
2620
|
+
callback?:
|
|
2621
|
+
string;
|
|
2622
|
+
/** Optional. The environment of the Application. */
|
|
2623
|
+
environment?:
|
|
2624
|
+
string;
|
|
2625
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2626
|
+
fields?:
|
|
2627
|
+
string;
|
|
2628
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2629
|
+
key?:
|
|
2630
|
+
string;
|
|
2631
|
+
/** OAuth 2.0 token for the current user. */
|
|
2632
|
+
oauth_token?:
|
|
2633
|
+
string;
|
|
2634
|
+
/** Optional. Maximum results to return per page. */
|
|
2635
|
+
pageSize?:
|
|
2636
|
+
number;
|
|
2637
|
+
/** Optional. Continuation token for fetching the next page of results. */
|
|
2638
|
+
pageToken?:
|
|
2639
|
+
string;
|
|
2640
|
+
/** Returns response with indentations and line breaks. */
|
|
2641
|
+
prettyPrint?:
|
|
2642
|
+
boolean;
|
|
2643
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2644
|
+
quotaUser?:
|
|
2645
|
+
string;
|
|
2646
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2647
|
+
upload_protocol?:
|
|
2648
|
+
string;
|
|
2649
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2650
|
+
uploadType?:
|
|
2651
|
+
string;
|
|
2652
|
+
}): Request<ListRuntimesResponse>;
|
|
2653
|
+
}
|
|
2582
2654
|
interface InstancesResource {
|
|
2583
2655
|
/**
|
|
2584
2656
|
* Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in "debug mode", the instance continues
|
|
@@ -3749,6 +3821,8 @@ declare namespace gapi.client {
|
|
|
3749
3821
|
LocationsResource;
|
|
3750
3822
|
operations:
|
|
3751
3823
|
OperationsResource;
|
|
3824
|
+
runtimes:
|
|
3825
|
+
RuntimesResource;
|
|
3752
3826
|
services:
|
|
3753
3827
|
ServicesResource;
|
|
3754
3828
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.appengine-v1beta",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20230807",
|
|
4
4
|
"description": "TypeScript typings for App Engine Admin API v1beta",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
|
18
|
-
"@types/gapi.client.discovery": "*"
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
19
|
}
|
|
20
20
|
}
|
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: 20230807
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -340,6 +340,13 @@ gapi.load('client', async () => {
|
|
|
340
340
|
pageSize: 42,
|
|
341
341
|
pageToken: "Test string",
|
|
342
342
|
});
|
|
343
|
+
/** Lists all the available runtimes for the application. */
|
|
344
|
+
await gapi.client.appengine.apps.runtimes.list({
|
|
345
|
+
appsId: "Test string",
|
|
346
|
+
environment: "Test string",
|
|
347
|
+
pageSize: 42,
|
|
348
|
+
pageToken: "Test string",
|
|
349
|
+
});
|
|
343
350
|
/** Deletes the specified service and all enclosed versions. */
|
|
344
351
|
await gapi.client.appengine.apps.services.delete({
|
|
345
352
|
appsId: "Test string",
|