@maxim_mazurok/gapi.client.appengine-v1 0.0.20230518 → 0.0.20230529

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.
Files changed (3) hide show
  1. package/index.d.ts +100 -1
  2. package/package.json +1 -1
  3. package/tests.ts +14 -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=v1
12
- // Revision: 20230518
12
+ // Revision: 20230529
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3864,6 +3864,105 @@ declare namespace gapi.client {
3864
3864
  uploadType?:
3865
3865
  string;
3866
3866
  }): Request<Application>;
3867
+ /**
3868
+ * Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive
3869
+ * an error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to
3870
+ * recreate it. Instead, you should attempt to use the IAM undelete API if possible at
3871
+ * https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D . If
3872
+ * the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.
3873
+ */
3874
+ repair(request: {
3875
+ /** V1 error format. */
3876
+ "$.xgafv"?:
3877
+ string;
3878
+ /** OAuth access token. */
3879
+ access_token?:
3880
+ string;
3881
+ /** Data format for response. */
3882
+ alt?:
3883
+ string;
3884
+ /** Part of `name`. See documentation of `projectsId`. */
3885
+ applicationsId:
3886
+ string;
3887
+ /** JSONP */
3888
+ callback?:
3889
+ string;
3890
+ /** Selector specifying which fields to include in a partial response. */
3891
+ fields?:
3892
+ string;
3893
+ /** 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. */
3894
+ key?:
3895
+ string;
3896
+ /** Part of `name`. See documentation of `projectsId`. */
3897
+ locationsId:
3898
+ string;
3899
+ /** OAuth 2.0 token for the current user. */
3900
+ oauth_token?:
3901
+ string;
3902
+ /** Returns response with indentations and line breaks. */
3903
+ prettyPrint?:
3904
+ boolean;
3905
+ /** Part of `name`. Name of the application to repair. Example: apps/myapp */
3906
+ projectsId:
3907
+ string;
3908
+ /** 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. */
3909
+ quotaUser?:
3910
+ string;
3911
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3912
+ upload_protocol?:
3913
+ string;
3914
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3915
+ uploadType?:
3916
+ string;
3917
+ /** Request body */
3918
+ resource:
3919
+ RepairApplicationRequest;
3920
+ }): Request<Operation>;
3921
+ repair(request: {
3922
+ /** V1 error format. */
3923
+ "$.xgafv"?:
3924
+ string;
3925
+ /** OAuth access token. */
3926
+ access_token?:
3927
+ string;
3928
+ /** Data format for response. */
3929
+ alt?:
3930
+ string;
3931
+ /** Part of `name`. See documentation of `projectsId`. */
3932
+ applicationsId:
3933
+ string;
3934
+ /** JSONP */
3935
+ callback?:
3936
+ string;
3937
+ /** Selector specifying which fields to include in a partial response. */
3938
+ fields?:
3939
+ string;
3940
+ /** 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. */
3941
+ key?:
3942
+ string;
3943
+ /** Part of `name`. See documentation of `projectsId`. */
3944
+ locationsId:
3945
+ string;
3946
+ /** OAuth 2.0 token for the current user. */
3947
+ oauth_token?:
3948
+ string;
3949
+ /** Returns response with indentations and line breaks. */
3950
+ prettyPrint?:
3951
+ boolean;
3952
+ /** Part of `name`. Name of the application to repair. Example: apps/myapp */
3953
+ projectsId:
3954
+ string;
3955
+ /** 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. */
3956
+ quotaUser?:
3957
+ string;
3958
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3959
+ upload_protocol?:
3960
+ string;
3961
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3962
+ uploadType?:
3963
+ string;
3964
+ },
3965
+ body: RepairApplicationRequest): Request<Operation>;
3867
3966
  }
3868
3967
  interface LocationsResource {
3869
3968
  applications:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.appengine-v1",
3
- "version": "0.0.20230518",
3
+ "version": "0.0.20230529",
4
4
  "description": "TypeScript typings for App Engine Admin API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230518
6
+ // Revision: 20230529
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -942,5 +942,18 @@ gapi.load('client', async () => {
942
942
  locationsId: "Test string",
943
943
  projectsId: "Test string",
944
944
  });
945
+ /**
946
+ * Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an
947
+ * error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to
948
+ * recreate it. Instead, you should attempt to use the IAM undelete API if possible at
949
+ * https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D . If the
950
+ * deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.
951
+ */
952
+ await gapi.client.appengine.projects.locations.applications.repair({
953
+ applicationsId: "Test string",
954
+ locationsId: "Test string",
955
+ projectsId: "Test string",
956
+ }, {
957
+ });
945
958
  }
946
959
  });