@maxim_mazurok/gapi.client.appengine-v1 0.0.20231024 → 0.0.20231107

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 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=v1
12
- // Revision: 20231024
12
+ // Revision: 20231107
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -287,6 +287,17 @@ declare namespace gapi.client {
287
287
  cloudBuildId?:
288
288
  string;
289
289
  }
290
+ interface Date {
291
+ /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
292
+ day?:
293
+ number;
294
+ /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
295
+ month?:
296
+ number;
297
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
298
+ year?:
299
+ number;
300
+ }
290
301
  interface DebugInstanceRequest {
291
302
  /**
292
303
  * Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
@@ -601,6 +612,14 @@ declare namespace gapi.client {
601
612
  operations?:
602
613
  Operation[];
603
614
  }
615
+ interface ListRuntimesResponse {
616
+ /** Continuation token for fetching the next page of results. */
617
+ nextPageToken?:
618
+ string;
619
+ /** The runtimes available to the requested application. */
620
+ runtimes?:
621
+ Runtime[];
622
+ }
604
623
  interface ListServicesResponse {
605
624
  /** Continuation token for fetching the next page of results. */
606
625
  nextPageToken?:
@@ -949,6 +968,29 @@ declare namespace gapi.client {
949
968
  volumes?:
950
969
  Volume[];
951
970
  }
971
+ interface Runtime {
972
+ /** Date when Runtime is decommissioned. */
973
+ decommissionedDate?:
974
+ Date;
975
+ /** Date when Runtime is deprecated. */
976
+ deprecationDate?:
977
+ Date;
978
+ /** Date when Runtime is end of support. */
979
+ endOfSupportDate?:
980
+ Date;
981
+ /** The environment of the runtime. */
982
+ environment?:
983
+ string;
984
+ /** The name of the runtime, e.g., 'go113', 'nodejs12', etc. */
985
+ name?:
986
+ string;
987
+ /** The stage of life this runtime is in, e.g., BETA, GA, etc. */
988
+ stage?:
989
+ string;
990
+ /** Warning messages, e.g., a deprecation warning. */
991
+ warnings?:
992
+ string[];
993
+ }
952
994
  interface ScriptHandler {
953
995
  /** Path to the script from the application root directory. */
954
996
  scriptPath?:
@@ -1178,10 +1220,7 @@ declare namespace gapi.client {
1178
1220
  */
1179
1221
  handlers?:
1180
1222
  UrlMap[];
1181
- /**
1182
- * Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.Only returned in
1183
- * GET requests if view=FULL is set.
1184
- */
1223
+ /** Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment. */
1185
1224
  healthCheck?:
1186
1225
  HealthCheck;
1187
1226
  /**
@@ -1202,7 +1241,7 @@ declare namespace gapi.client {
1202
1241
  /** Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set. */
1203
1242
  libraries?:
1204
1243
  Library[];
1205
- /** Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set. */
1244
+ /** Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances */
1206
1245
  livenessCheck?:
1207
1246
  LivenessCheck;
1208
1247
  /**
@@ -1220,7 +1259,7 @@ declare namespace gapi.client {
1220
1259
  /** Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set. */
1221
1260
  nobuildFilesRegex?:
1222
1261
  string;
1223
- /** Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set. */
1262
+ /** Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. */
1224
1263
  readinessCheck?:
1225
1264
  ReadinessCheck;
1226
1265
  /** Machine resources for this version. Only applicable in the App Engine flexible environment. */
@@ -3541,6 +3580,48 @@ declare namespace gapi.client {
3541
3580
  uploadType?:
3542
3581
  string;
3543
3582
  }): Request<Application>;
3583
+ /** Lists all the available runtimes for the application. */
3584
+ listRuntimes(request?: {
3585
+ /** V1 error format. */
3586
+ "$.xgafv"?:
3587
+ string;
3588
+ /** OAuth access token. */
3589
+ access_token?:
3590
+ string;
3591
+ /** Data format for response. */
3592
+ alt?:
3593
+ string;
3594
+ /** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
3595
+ appsId:
3596
+ string;
3597
+ /** JSONP */
3598
+ callback?:
3599
+ string;
3600
+ /** Optional. The environment of the Application. */
3601
+ environment?:
3602
+ string;
3603
+ /** Selector specifying which fields to include in a partial response. */
3604
+ fields?:
3605
+ string;
3606
+ /** 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. */
3607
+ key?:
3608
+ string;
3609
+ /** OAuth 2.0 token for the current user. */
3610
+ oauth_token?:
3611
+ string;
3612
+ /** Returns response with indentations and line breaks. */
3613
+ prettyPrint?:
3614
+ boolean;
3615
+ /** 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. */
3616
+ quotaUser?:
3617
+ string;
3618
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3619
+ upload_protocol?:
3620
+ string;
3621
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3622
+ uploadType?:
3623
+ string;
3624
+ }): Request<ListRuntimesResponse>;
3544
3625
  /**
3545
3626
  * Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application.
3546
3627
  * default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware Proxy properties for the application.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.appengine-v1",
3
- "version": "0.0.20231024",
3
+ "version": "0.0.20231107",
4
4
  "description": "TypeScript typings for App Engine Admin API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20231024
6
+ // Revision: 20231107
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.