@maxim_mazurok/gapi.client.appengine-v1beta 0.0.20230529 → 0.0.20230601
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 +104 -1
- package/package.json +1 -1
- package/tests.ts +16 -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=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230601
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3758,6 +3758,107 @@ declare namespace gapi.client {
|
|
|
3758
3758
|
services:
|
|
3759
3759
|
ServicesResource;
|
|
3760
3760
|
}
|
|
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
|
+
}
|
|
3761
3862
|
interface ApplicationsResource {
|
|
3762
3863
|
/**
|
|
3763
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
|
|
@@ -3994,6 +4095,8 @@ declare namespace gapi.client {
|
|
|
3994
4095
|
string;
|
|
3995
4096
|
},
|
|
3996
4097
|
body: RepairApplicationRequest): Request<Operation>;
|
|
4098
|
+
services:
|
|
4099
|
+
ServicesResource;
|
|
3997
4100
|
}
|
|
3998
4101
|
interface OperationsResource {
|
|
3999
4102
|
/** 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. */
|
package/package.json
CHANGED
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: 20230601
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -993,6 +993,21 @@ gapi.load('client', async () => {
|
|
|
993
993
|
projectsId: "Test string",
|
|
994
994
|
}, {
|
|
995
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
|
+
});
|
|
996
1011
|
/** 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. */
|
|
997
1012
|
await gapi.client.appengine.projects.locations.operations.get({
|
|
998
1013
|
locationsId: "Test string",
|