@maxim_mazurok/gapi.client.appengine-v1 0.0.20231016 → 0.0.20231030

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: 20231016
12
+ // Revision: 20231030
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?:
@@ -1169,6 +1211,9 @@ declare namespace gapi.client {
1169
1211
  /** Settings for App Engine flexible runtimes. */
1170
1212
  flexibleRuntimeSettings?:
1171
1213
  FlexibleRuntimeSettings;
1214
+ /** Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetVersionRequest */
1215
+ generatedCustomerMetadata?:
1216
+ { [P in string]: any };
1172
1217
  /**
1173
1218
  * An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.Only
1174
1219
  * returned in GET requests if view=FULL is set.
@@ -3538,6 +3583,48 @@ declare namespace gapi.client {
3538
3583
  uploadType?:
3539
3584
  string;
3540
3585
  }): Request<Application>;
3586
+ /** Lists all the available runtimes for the application. */
3587
+ listRuntimes(request?: {
3588
+ /** V1 error format. */
3589
+ "$.xgafv"?:
3590
+ string;
3591
+ /** OAuth access token. */
3592
+ access_token?:
3593
+ string;
3594
+ /** Data format for response. */
3595
+ alt?:
3596
+ string;
3597
+ /** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
3598
+ appsId:
3599
+ string;
3600
+ /** JSONP */
3601
+ callback?:
3602
+ string;
3603
+ /** Optional. The environment of the Application. */
3604
+ environment?:
3605
+ string;
3606
+ /** Selector specifying which fields to include in a partial response. */
3607
+ fields?:
3608
+ string;
3609
+ /** 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. */
3610
+ key?:
3611
+ string;
3612
+ /** OAuth 2.0 token for the current user. */
3613
+ oauth_token?:
3614
+ string;
3615
+ /** Returns response with indentations and line breaks. */
3616
+ prettyPrint?:
3617
+ boolean;
3618
+ /** 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. */
3619
+ quotaUser?:
3620
+ string;
3621
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3622
+ upload_protocol?:
3623
+ string;
3624
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3625
+ uploadType?:
3626
+ string;
3627
+ }): Request<ListRuntimesResponse>;
3541
3628
  /**
3542
3629
  * Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application.
3543
3630
  * 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.20231016",
3
+ "version": "0.0.20231030",
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: 20231016
6
+ // Revision: 20231030
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.
@@ -495,6 +500,9 @@ gapi.load('client', async () => {
495
500
  operatingSystem: "Test string",
496
501
  runtimeVersion: "Test string",
497
502
  },
503
+ generatedCustomerMetadata: {
504
+ A: 42
505
+ },
498
506
  handlers: [
499
507
  {
500
508
  apiEndpoint: {
@@ -753,6 +761,9 @@ gapi.load('client', async () => {
753
761
  operatingSystem: "Test string",
754
762
  runtimeVersion: "Test string",
755
763
  },
764
+ generatedCustomerMetadata: {
765
+ A: 42
766
+ },
756
767
  handlers: [
757
768
  {
758
769
  apiEndpoint: {