@maxim_mazurok/gapi.client.appengine-v1beta 0.0.20230925 → 0.0.20231016
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 +60 -64
- package/package.json +1 -1
- package/readme.md +5 -0
- package/tests.ts +6 -6
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: 20231016
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -256,6 +256,22 @@ declare namespace gapi.client {
|
|
|
256
256
|
image?:
|
|
257
257
|
string;
|
|
258
258
|
}
|
|
259
|
+
interface ContainerState {
|
|
260
|
+
currentReasons?:
|
|
261
|
+
Reasons;
|
|
262
|
+
/**
|
|
263
|
+
* The previous and current reasons for a container state will be sent for a container event. CLHs that need to know the signal that caused the container event to trigger (edges) as
|
|
264
|
+
* opposed to just knowing the state can act upon differences in the previous and current reasons.Reasons will be provided for every system: service management, data governance, abuse,
|
|
265
|
+
* and billing.If this is a CCFE-triggered event used for reconciliation then the current reasons will be set to their *_CONTROL_PLANE_SYNC state. The previous reasons will contain the
|
|
266
|
+
* last known set of non-unknown non-control_plane_sync reasons for the state.Reasons fields are deprecated. New tenants should only use the state field. If you must know the reason(s)
|
|
267
|
+
* behind a specific state, please consult with CCFE team first (cloud-ccfe-discuss@google.com).
|
|
268
|
+
*/
|
|
269
|
+
previousReasons?:
|
|
270
|
+
Reasons;
|
|
271
|
+
/** The current state of the container. This state is the culmination of all of the opinions from external systems that CCFE knows about of the container. */
|
|
272
|
+
state?:
|
|
273
|
+
string;
|
|
274
|
+
}
|
|
259
275
|
interface CpuUtilization {
|
|
260
276
|
/** Period of time over which CPU utilization is calculated. */
|
|
261
277
|
aggregationWindowLength?:
|
|
@@ -880,7 +896,7 @@ declare namespace gapi.client {
|
|
|
880
896
|
ProjectsMetadata;
|
|
881
897
|
/** The state of the project that led to this event. */
|
|
882
898
|
state?:
|
|
883
|
-
|
|
899
|
+
ContainerState;
|
|
884
900
|
}
|
|
885
901
|
interface ProjectsMetadata {
|
|
886
902
|
/** The consumer project id. */
|
|
@@ -911,22 +927,6 @@ declare namespace gapi.client {
|
|
|
911
927
|
tenantProjectNumber?:
|
|
912
928
|
string;
|
|
913
929
|
}
|
|
914
|
-
interface ProjectState {
|
|
915
|
-
currentReasons?:
|
|
916
|
-
Reasons;
|
|
917
|
-
/**
|
|
918
|
-
* The previous and current reasons for a project state will be sent for a project event. CLHs that need to know the signal that caused the project event to trigger (edges) as opposed
|
|
919
|
-
* to just knowing the state can act upon differences in the previous and current reasons.Reasons will be provided for every system: service management, data governance, abuse, and
|
|
920
|
-
* billing.If this is a CCFE-triggered event used for reconciliation then the current reasons will be set to their *_CONTROL_PLANE_SYNC state. The previous reasons will contain the
|
|
921
|
-
* last known set of non-unknown non-control_plane_sync reasons for the state.Reasons fields are deprecated. New tenants should only use the state field. If you must know the reason(s)
|
|
922
|
-
* behind a specific state, please consult with CCFE team first (cloud-ccfe-discuss@google.com).
|
|
923
|
-
*/
|
|
924
|
-
previousReasons?:
|
|
925
|
-
Reasons;
|
|
926
|
-
/** The current state of the project. This state is the culmination of all of the opinions from external systems that CCFE knows about of the project. */
|
|
927
|
-
state?:
|
|
928
|
-
string;
|
|
929
|
-
}
|
|
930
930
|
interface ReadinessCheck {
|
|
931
931
|
/** A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. */
|
|
932
932
|
appStartTimeout?:
|
|
@@ -2630,50 +2630,6 @@ declare namespace gapi.client {
|
|
|
2630
2630
|
string;
|
|
2631
2631
|
}): Request<ListOperationsResponse>;
|
|
2632
2632
|
}
|
|
2633
|
-
interface RuntimesResource {
|
|
2634
|
-
/** Lists all the available runtimes for the application. */
|
|
2635
|
-
list(request?: {
|
|
2636
|
-
/** V1 error format. */
|
|
2637
|
-
"$.xgafv"?:
|
|
2638
|
-
string;
|
|
2639
|
-
/** OAuth access token. */
|
|
2640
|
-
access_token?:
|
|
2641
|
-
string;
|
|
2642
|
-
/** Data format for response. */
|
|
2643
|
-
alt?:
|
|
2644
|
-
string;
|
|
2645
|
-
/** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
|
|
2646
|
-
appsId:
|
|
2647
|
-
string;
|
|
2648
|
-
/** JSONP */
|
|
2649
|
-
callback?:
|
|
2650
|
-
string;
|
|
2651
|
-
/** Optional. The environment of the Application. */
|
|
2652
|
-
environment?:
|
|
2653
|
-
string;
|
|
2654
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2655
|
-
fields?:
|
|
2656
|
-
string;
|
|
2657
|
-
/** 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. */
|
|
2658
|
-
key?:
|
|
2659
|
-
string;
|
|
2660
|
-
/** OAuth 2.0 token for the current user. */
|
|
2661
|
-
oauth_token?:
|
|
2662
|
-
string;
|
|
2663
|
-
/** Returns response with indentations and line breaks. */
|
|
2664
|
-
prettyPrint?:
|
|
2665
|
-
boolean;
|
|
2666
|
-
/** 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. */
|
|
2667
|
-
quotaUser?:
|
|
2668
|
-
string;
|
|
2669
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2670
|
-
upload_protocol?:
|
|
2671
|
-
string;
|
|
2672
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2673
|
-
uploadType?:
|
|
2674
|
-
string;
|
|
2675
|
-
}): Request<ListRuntimesResponse>;
|
|
2676
|
-
}
|
|
2677
2633
|
interface InstancesResource {
|
|
2678
2634
|
/**
|
|
2679
2635
|
* 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
|
|
@@ -3664,6 +3620,48 @@ declare namespace gapi.client {
|
|
|
3664
3620
|
uploadType?:
|
|
3665
3621
|
string;
|
|
3666
3622
|
}): Request<Application>;
|
|
3623
|
+
/** Lists all the available runtimes for the application. */
|
|
3624
|
+
listRuntimes(request?: {
|
|
3625
|
+
/** V1 error format. */
|
|
3626
|
+
"$.xgafv"?:
|
|
3627
|
+
string;
|
|
3628
|
+
/** OAuth access token. */
|
|
3629
|
+
access_token?:
|
|
3630
|
+
string;
|
|
3631
|
+
/** Data format for response. */
|
|
3632
|
+
alt?:
|
|
3633
|
+
string;
|
|
3634
|
+
/** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
|
|
3635
|
+
appsId:
|
|
3636
|
+
string;
|
|
3637
|
+
/** JSONP */
|
|
3638
|
+
callback?:
|
|
3639
|
+
string;
|
|
3640
|
+
/** Optional. The environment of the Application. */
|
|
3641
|
+
environment?:
|
|
3642
|
+
string;
|
|
3643
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3644
|
+
fields?:
|
|
3645
|
+
string;
|
|
3646
|
+
/** 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. */
|
|
3647
|
+
key?:
|
|
3648
|
+
string;
|
|
3649
|
+
/** OAuth 2.0 token for the current user. */
|
|
3650
|
+
oauth_token?:
|
|
3651
|
+
string;
|
|
3652
|
+
/** Returns response with indentations and line breaks. */
|
|
3653
|
+
prettyPrint?:
|
|
3654
|
+
boolean;
|
|
3655
|
+
/** 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. */
|
|
3656
|
+
quotaUser?:
|
|
3657
|
+
string;
|
|
3658
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3659
|
+
upload_protocol?:
|
|
3660
|
+
string;
|
|
3661
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3662
|
+
uploadType?:
|
|
3663
|
+
string;
|
|
3664
|
+
}): Request<ListRuntimesResponse>;
|
|
3667
3665
|
/**
|
|
3668
3666
|
* Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application.
|
|
3669
3667
|
* default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware Proxy properties for the application.
|
|
@@ -3853,8 +3851,6 @@ declare namespace gapi.client {
|
|
|
3853
3851
|
LocationsResource;
|
|
3854
3852
|
operations:
|
|
3855
3853
|
OperationsResource;
|
|
3856
|
-
runtimes:
|
|
3857
|
-
RuntimesResource;
|
|
3858
3854
|
services:
|
|
3859
3855
|
ServicesResource;
|
|
3860
3856
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -82,6 +82,11 @@ Gets information about an application.
|
|
|
82
82
|
*/
|
|
83
83
|
await gapi.client.appengine.apps.get({ appsId: "appsId", });
|
|
84
84
|
|
|
85
|
+
/*
|
|
86
|
+
Lists all the available runtimes for the application.
|
|
87
|
+
*/
|
|
88
|
+
await gapi.client.appengine.apps.listRuntimes({ appsId: "appsId", });
|
|
89
|
+
|
|
85
90
|
/*
|
|
86
91
|
Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware Proxy properties for the application.
|
|
87
92
|
*/
|
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: 20231016
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -78,6 +78,11 @@ gapi.load('client', async () => {
|
|
|
78
78
|
appsId: "Test string",
|
|
79
79
|
includeExtraData: "Test string",
|
|
80
80
|
});
|
|
81
|
+
/** Lists all the available runtimes for the application. */
|
|
82
|
+
await gapi.client.appengine.apps.listRuntimes({
|
|
83
|
+
appsId: "Test string",
|
|
84
|
+
environment: "Test string",
|
|
85
|
+
});
|
|
81
86
|
/**
|
|
82
87
|
* Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application.
|
|
83
88
|
* default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware Proxy properties for the application.
|
|
@@ -347,11 +352,6 @@ gapi.load('client', async () => {
|
|
|
347
352
|
pageSize: 42,
|
|
348
353
|
pageToken: "Test string",
|
|
349
354
|
});
|
|
350
|
-
/** Lists all the available runtimes for the application. */
|
|
351
|
-
await gapi.client.appengine.apps.runtimes.list({
|
|
352
|
-
appsId: "Test string",
|
|
353
|
-
environment: "Test string",
|
|
354
|
-
});
|
|
355
355
|
/** Deletes the specified service and all enclosed versions. */
|
|
356
356
|
await gapi.client.appengine.apps.services.delete({
|
|
357
357
|
appsId: "Test string",
|