@maxim_mazurok/gapi.client.appengine-v1beta 0.0.20230601 → 0.0.20230706

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 +1 -349
  2. package/package.json +1 -1
  3. package/tests.ts +1 -75
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: 20230601
12
+ // Revision: 20230706
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3469,9 +3469,6 @@ declare namespace gapi.client {
3469
3469
  /** OAuth 2.0 token for the current user. */
3470
3470
  oauth_token?:
3471
3471
  string;
3472
- /** The project and location in which the application should be created, specified in the format projects/*‍/locations/* */
3473
- parent?:
3474
- string;
3475
3472
  /** Returns response with indentations and line breaks. */
3476
3473
  prettyPrint?:
3477
3474
  boolean;
@@ -3510,9 +3507,6 @@ declare namespace gapi.client {
3510
3507
  /** OAuth 2.0 token for the current user. */
3511
3508
  oauth_token?:
3512
3509
  string;
3513
- /** The project and location in which the application should be created, specified in the format projects/*‍/locations/* */
3514
- parent?:
3515
- string;
3516
3510
  /** Returns response with indentations and line breaks. */
3517
3511
  prettyPrint?:
3518
3512
  boolean;
@@ -3758,346 +3752,6 @@ declare namespace gapi.client {
3758
3752
  services:
3759
3753
  ServicesResource;
3760
3754
  }
3761
- interface ServicesResource {
3762
- /** Gets the current configuration of the specified service. */
3763
- get(request?: {
3764
- /** V1 error format. */
3765
- "$.xgafv"?:
3766
- string;
3767
- /** OAuth access token. */
3768
- access_token?:
3769
- string;
3770
- /** Data format for response. */
3771
- alt?:
3772
- string;
3773
- /** Part of `name`. See documentation of `projectsId`. */
3774
- applicationsId:
3775
- string;
3776
- /** JSONP */
3777
- callback?:
3778
- string;
3779
- /** Selector specifying which fields to include in a partial response. */
3780
- fields?:
3781
- string;
3782
- /** 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. */
3783
- key?:
3784
- string;
3785
- /** Part of `name`. See documentation of `projectsId`. */
3786
- locationsId:
3787
- string;
3788
- /** OAuth 2.0 token for the current user. */
3789
- oauth_token?:
3790
- string;
3791
- /** Returns response with indentations and line breaks. */
3792
- prettyPrint?:
3793
- boolean;
3794
- /** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default. */
3795
- projectsId:
3796
- string;
3797
- /** 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. */
3798
- quotaUser?:
3799
- string;
3800
- /** Part of `name`. See documentation of `projectsId`. */
3801
- servicesId:
3802
- string;
3803
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3804
- upload_protocol?:
3805
- string;
3806
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3807
- uploadType?:
3808
- string;
3809
- }): Request<Service>;
3810
- /** Lists all the services in the application. */
3811
- list(request?: {
3812
- /** V1 error format. */
3813
- "$.xgafv"?:
3814
- string;
3815
- /** OAuth access token. */
3816
- access_token?:
3817
- string;
3818
- /** Data format for response. */
3819
- alt?:
3820
- string;
3821
- /** Part of `parent`. See documentation of `projectsId`. */
3822
- applicationsId:
3823
- string;
3824
- /** JSONP */
3825
- callback?:
3826
- string;
3827
- /** Selector specifying which fields to include in a partial response. */
3828
- fields?:
3829
- string;
3830
- /** 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. */
3831
- key?:
3832
- string;
3833
- /** Part of `parent`. See documentation of `projectsId`. */
3834
- locationsId:
3835
- string;
3836
- /** OAuth 2.0 token for the current user. */
3837
- oauth_token?:
3838
- string;
3839
- /** Maximum results to return per page. */
3840
- pageSize?:
3841
- number;
3842
- /** Continuation token for fetching the next page of results. */
3843
- pageToken?:
3844
- string;
3845
- /** Returns response with indentations and line breaks. */
3846
- prettyPrint?:
3847
- boolean;
3848
- /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
3849
- projectsId:
3850
- string;
3851
- /** 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. */
3852
- quotaUser?:
3853
- string;
3854
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3855
- upload_protocol?:
3856
- string;
3857
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3858
- uploadType?:
3859
- string;
3860
- }): Request<ListServicesResponse>;
3861
- }
3862
- interface ApplicationsResource {
3863
- /**
3864
- * Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region
3865
- * (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects,
3866
- * Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/).
3867
- */
3868
- create(request: {
3869
- /** V1 error format. */
3870
- "$.xgafv"?:
3871
- string;
3872
- /** OAuth access token. */
3873
- access_token?:
3874
- string;
3875
- /** Data format for response. */
3876
- alt?:
3877
- string;
3878
- /** JSONP */
3879
- callback?:
3880
- string;
3881
- /** Selector specifying which fields to include in a partial response. */
3882
- fields?:
3883
- string;
3884
- /** 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. */
3885
- key?:
3886
- string;
3887
- /** Part of `parent`. See documentation of `projectsId`. */
3888
- locationsId:
3889
- string;
3890
- /** OAuth 2.0 token for the current user. */
3891
- oauth_token?:
3892
- string;
3893
- /** Returns response with indentations and line breaks. */
3894
- prettyPrint?:
3895
- boolean;
3896
- /** Part of `parent`. The project and location in which the application should be created, specified in the format projects/*‍/locations/* */
3897
- projectsId:
3898
- string;
3899
- /** 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. */
3900
- quotaUser?:
3901
- string;
3902
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3903
- upload_protocol?:
3904
- string;
3905
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3906
- uploadType?:
3907
- string;
3908
- /** Request body */
3909
- resource:
3910
- Application;
3911
- }): Request<Operation>;
3912
- create(request: {
3913
- /** V1 error format. */
3914
- "$.xgafv"?:
3915
- string;
3916
- /** OAuth access token. */
3917
- access_token?:
3918
- string;
3919
- /** Data format for response. */
3920
- alt?:
3921
- string;
3922
- /** JSONP */
3923
- callback?:
3924
- string;
3925
- /** Selector specifying which fields to include in a partial response. */
3926
- fields?:
3927
- string;
3928
- /** 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. */
3929
- key?:
3930
- string;
3931
- /** Part of `parent`. See documentation of `projectsId`. */
3932
- locationsId:
3933
- string;
3934
- /** OAuth 2.0 token for the current user. */
3935
- oauth_token?:
3936
- string;
3937
- /** Returns response with indentations and line breaks. */
3938
- prettyPrint?:
3939
- boolean;
3940
- /** Part of `parent`. The project and location in which the application should be created, specified in the format projects/*‍/locations/* */
3941
- projectsId:
3942
- string;
3943
- /** 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. */
3944
- quotaUser?:
3945
- string;
3946
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3947
- upload_protocol?:
3948
- string;
3949
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3950
- uploadType?:
3951
- string;
3952
- },
3953
- body: Application): Request<Operation>;
3954
- /** Gets information about an application. */
3955
- get(request?: {
3956
- /** V1 error format. */
3957
- "$.xgafv"?:
3958
- string;
3959
- /** OAuth access token. */
3960
- access_token?:
3961
- string;
3962
- /** Data format for response. */
3963
- alt?:
3964
- string;
3965
- /** Part of `name`. See documentation of `projectsId`. */
3966
- applicationsId:
3967
- string;
3968
- /** JSONP */
3969
- callback?:
3970
- string;
3971
- /** Selector specifying which fields to include in a partial response. */
3972
- fields?:
3973
- string;
3974
- /** 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. */
3975
- key?:
3976
- string;
3977
- /** Part of `name`. See documentation of `projectsId`. */
3978
- locationsId:
3979
- string;
3980
- /** OAuth 2.0 token for the current user. */
3981
- oauth_token?:
3982
- string;
3983
- /** Returns response with indentations and line breaks. */
3984
- prettyPrint?:
3985
- boolean;
3986
- /** Part of `name`. Name of the Application resource to get. Example: apps/myapp. */
3987
- projectsId:
3988
- string;
3989
- /** 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. */
3990
- quotaUser?:
3991
- string;
3992
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3993
- upload_protocol?:
3994
- string;
3995
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3996
- uploadType?:
3997
- string;
3998
- }): Request<Application>;
3999
- /**
4000
- * 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
4001
- * 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
4002
- * recreate it. Instead, you should attempt to use the IAM undelete API if possible at
4003
- * 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
4004
- * the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.
4005
- */
4006
- repair(request: {
4007
- /** V1 error format. */
4008
- "$.xgafv"?:
4009
- string;
4010
- /** OAuth access token. */
4011
- access_token?:
4012
- string;
4013
- /** Data format for response. */
4014
- alt?:
4015
- string;
4016
- /** Part of `name`. See documentation of `projectsId`. */
4017
- applicationsId:
4018
- string;
4019
- /** JSONP */
4020
- callback?:
4021
- string;
4022
- /** Selector specifying which fields to include in a partial response. */
4023
- fields?:
4024
- string;
4025
- /** 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. */
4026
- key?:
4027
- string;
4028
- /** Part of `name`. See documentation of `projectsId`. */
4029
- locationsId:
4030
- string;
4031
- /** OAuth 2.0 token for the current user. */
4032
- oauth_token?:
4033
- string;
4034
- /** Returns response with indentations and line breaks. */
4035
- prettyPrint?:
4036
- boolean;
4037
- /** Part of `name`. Name of the application to repair. Example: apps/myapp */
4038
- projectsId:
4039
- string;
4040
- /** 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. */
4041
- quotaUser?:
4042
- string;
4043
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4044
- upload_protocol?:
4045
- string;
4046
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4047
- uploadType?:
4048
- string;
4049
- /** Request body */
4050
- resource:
4051
- RepairApplicationRequest;
4052
- }): Request<Operation>;
4053
- repair(request: {
4054
- /** V1 error format. */
4055
- "$.xgafv"?:
4056
- string;
4057
- /** OAuth access token. */
4058
- access_token?:
4059
- string;
4060
- /** Data format for response. */
4061
- alt?:
4062
- string;
4063
- /** Part of `name`. See documentation of `projectsId`. */
4064
- applicationsId:
4065
- string;
4066
- /** JSONP */
4067
- callback?:
4068
- string;
4069
- /** Selector specifying which fields to include in a partial response. */
4070
- fields?:
4071
- string;
4072
- /** 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. */
4073
- key?:
4074
- string;
4075
- /** Part of `name`. See documentation of `projectsId`. */
4076
- locationsId:
4077
- string;
4078
- /** OAuth 2.0 token for the current user. */
4079
- oauth_token?:
4080
- string;
4081
- /** Returns response with indentations and line breaks. */
4082
- prettyPrint?:
4083
- boolean;
4084
- /** Part of `name`. Name of the application to repair. Example: apps/myapp */
4085
- projectsId:
4086
- string;
4087
- /** 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. */
4088
- quotaUser?:
4089
- string;
4090
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4091
- upload_protocol?:
4092
- string;
4093
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4094
- uploadType?:
4095
- string;
4096
- },
4097
- body: RepairApplicationRequest): Request<Operation>;
4098
- services:
4099
- ServicesResource;
4100
- }
4101
3755
  interface OperationsResource {
4102
3756
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
4103
3757
  get(request?: {
@@ -4290,8 +3944,6 @@ declare namespace gapi.client {
4290
3944
  uploadType?:
4291
3945
  string;
4292
3946
  }): Request<ListLocationsResponse>;
4293
- applications:
4294
- ApplicationsResource;
4295
3947
  operations:
4296
3948
  OperationsResource;
4297
3949
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.appengine-v1beta",
3
- "version": "0.0.20230601",
3
+ "version": "0.0.20230706",
4
4
  "description": "TypeScript typings for App Engine Admin API v1beta",
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: 20230601
6
+ // Revision: 20230706
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -39,7 +39,6 @@ gapi.load('client', async () => {
39
39
  * Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/).
40
40
  */
41
41
  await gapi.client.appengine.apps.create({
42
- parent: "Test string",
43
42
  }, {
44
43
  authDomain: "Test string",
45
44
  codeBucket: "Test string",
@@ -935,79 +934,6 @@ gapi.load('client', async () => {
935
934
  pageToken: "Test string",
936
935
  projectsId: "Test string",
937
936
  });
938
- /**
939
- * Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region
940
- * (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects,
941
- * Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/).
942
- */
943
- await gapi.client.appengine.projects.locations.applications.create({
944
- locationsId: "Test string",
945
- projectsId: "Test string",
946
- }, {
947
- authDomain: "Test string",
948
- codeBucket: "Test string",
949
- databaseType: "Test string",
950
- defaultBucket: "Test string",
951
- defaultCookieExpiration: "Test string",
952
- defaultHostname: "Test string",
953
- dispatchRules: [
954
- {
955
- domain: "Test string",
956
- path: "Test string",
957
- service: "Test string",
958
- }
959
- ],
960
- featureSettings: {
961
- splitHealthChecks: true,
962
- useContainerOptimizedOs: true,
963
- },
964
- gcrDomain: "Test string",
965
- iap: {
966
- enabled: true,
967
- oauth2ClientId: "Test string",
968
- oauth2ClientSecret: "Test string",
969
- oauth2ClientSecretSha256: "Test string",
970
- },
971
- id: "Test string",
972
- locationId: "Test string",
973
- name: "Test string",
974
- serviceAccount: "Test string",
975
- servingStatus: "Test string",
976
- });
977
- /** Gets information about an application. */
978
- await gapi.client.appengine.projects.locations.applications.get({
979
- applicationsId: "Test string",
980
- locationsId: "Test string",
981
- projectsId: "Test string",
982
- });
983
- /**
984
- * 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
985
- * 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
986
- * recreate it. Instead, you should attempt to use the IAM undelete API if possible at
987
- * 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
988
- * deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.
989
- */
990
- await gapi.client.appengine.projects.locations.applications.repair({
991
- applicationsId: "Test string",
992
- locationsId: "Test string",
993
- projectsId: "Test string",
994
- }, {
995
- });
996
- /** Gets the current configuration of the specified service. */
997
- await gapi.client.appengine.projects.locations.applications.services.get({
998
- applicationsId: "Test string",
999
- locationsId: "Test string",
1000
- projectsId: "Test string",
1001
- servicesId: "Test string",
1002
- });
1003
- /** Lists all the services in the application. */
1004
- await gapi.client.appengine.projects.locations.applications.services.list({
1005
- applicationsId: "Test string",
1006
- locationsId: "Test string",
1007
- pageSize: 42,
1008
- pageToken: "Test string",
1009
- projectsId: "Test string",
1010
- });
1011
937
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1012
938
  await gapi.client.appengine.projects.locations.operations.get({
1013
939
  locationsId: "Test string",