@maxim_mazurok/gapi.client.appengine-v1 0.0.20230529 → 0.0.20230609
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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230609
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3727,6 +3727,107 @@ declare namespace gapi.client {
|
|
|
3727
3727
|
services:
|
|
3728
3728
|
ServicesResource;
|
|
3729
3729
|
}
|
|
3730
|
+
interface ServicesResource {
|
|
3731
|
+
/** Gets the current configuration of the specified service. */
|
|
3732
|
+
get(request?: {
|
|
3733
|
+
/** V1 error format. */
|
|
3734
|
+
"$.xgafv"?:
|
|
3735
|
+
string;
|
|
3736
|
+
/** OAuth access token. */
|
|
3737
|
+
access_token?:
|
|
3738
|
+
string;
|
|
3739
|
+
/** Data format for response. */
|
|
3740
|
+
alt?:
|
|
3741
|
+
string;
|
|
3742
|
+
/** Part of `name`. See documentation of `projectsId`. */
|
|
3743
|
+
applicationsId:
|
|
3744
|
+
string;
|
|
3745
|
+
/** JSONP */
|
|
3746
|
+
callback?:
|
|
3747
|
+
string;
|
|
3748
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3749
|
+
fields?:
|
|
3750
|
+
string;
|
|
3751
|
+
/** 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. */
|
|
3752
|
+
key?:
|
|
3753
|
+
string;
|
|
3754
|
+
/** Part of `name`. See documentation of `projectsId`. */
|
|
3755
|
+
locationsId:
|
|
3756
|
+
string;
|
|
3757
|
+
/** OAuth 2.0 token for the current user. */
|
|
3758
|
+
oauth_token?:
|
|
3759
|
+
string;
|
|
3760
|
+
/** Returns response with indentations and line breaks. */
|
|
3761
|
+
prettyPrint?:
|
|
3762
|
+
boolean;
|
|
3763
|
+
/** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default. */
|
|
3764
|
+
projectsId:
|
|
3765
|
+
string;
|
|
3766
|
+
/** 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. */
|
|
3767
|
+
quotaUser?:
|
|
3768
|
+
string;
|
|
3769
|
+
/** Part of `name`. See documentation of `projectsId`. */
|
|
3770
|
+
servicesId:
|
|
3771
|
+
string;
|
|
3772
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3773
|
+
upload_protocol?:
|
|
3774
|
+
string;
|
|
3775
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3776
|
+
uploadType?:
|
|
3777
|
+
string;
|
|
3778
|
+
}): Request<Service>;
|
|
3779
|
+
/** Lists all the services in the application. */
|
|
3780
|
+
list(request?: {
|
|
3781
|
+
/** V1 error format. */
|
|
3782
|
+
"$.xgafv"?:
|
|
3783
|
+
string;
|
|
3784
|
+
/** OAuth access token. */
|
|
3785
|
+
access_token?:
|
|
3786
|
+
string;
|
|
3787
|
+
/** Data format for response. */
|
|
3788
|
+
alt?:
|
|
3789
|
+
string;
|
|
3790
|
+
/** Part of `parent`. See documentation of `projectsId`. */
|
|
3791
|
+
applicationsId:
|
|
3792
|
+
string;
|
|
3793
|
+
/** JSONP */
|
|
3794
|
+
callback?:
|
|
3795
|
+
string;
|
|
3796
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3797
|
+
fields?:
|
|
3798
|
+
string;
|
|
3799
|
+
/** 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. */
|
|
3800
|
+
key?:
|
|
3801
|
+
string;
|
|
3802
|
+
/** Part of `parent`. See documentation of `projectsId`. */
|
|
3803
|
+
locationsId:
|
|
3804
|
+
string;
|
|
3805
|
+
/** OAuth 2.0 token for the current user. */
|
|
3806
|
+
oauth_token?:
|
|
3807
|
+
string;
|
|
3808
|
+
/** Maximum results to return per page. */
|
|
3809
|
+
pageSize?:
|
|
3810
|
+
number;
|
|
3811
|
+
/** Continuation token for fetching the next page of results. */
|
|
3812
|
+
pageToken?:
|
|
3813
|
+
string;
|
|
3814
|
+
/** Returns response with indentations and line breaks. */
|
|
3815
|
+
prettyPrint?:
|
|
3816
|
+
boolean;
|
|
3817
|
+
/** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
|
|
3818
|
+
projectsId:
|
|
3819
|
+
string;
|
|
3820
|
+
/** 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. */
|
|
3821
|
+
quotaUser?:
|
|
3822
|
+
string;
|
|
3823
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3824
|
+
upload_protocol?:
|
|
3825
|
+
string;
|
|
3826
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3827
|
+
uploadType?:
|
|
3828
|
+
string;
|
|
3829
|
+
}): Request<ListServicesResponse>;
|
|
3830
|
+
}
|
|
3730
3831
|
interface ApplicationsResource {
|
|
3731
3832
|
/**
|
|
3732
3833
|
* 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
|
|
@@ -3963,6 +4064,8 @@ declare namespace gapi.client {
|
|
|
3963
4064
|
string;
|
|
3964
4065
|
},
|
|
3965
4066
|
body: RepairApplicationRequest): Request<Operation>;
|
|
4067
|
+
services:
|
|
4068
|
+
ServicesResource;
|
|
3966
4069
|
}
|
|
3967
4070
|
interface LocationsResource {
|
|
3968
4071
|
applications:
|
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: 20230609
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -955,5 +955,20 @@ gapi.load('client', async () => {
|
|
|
955
955
|
projectsId: "Test string",
|
|
956
956
|
}, {
|
|
957
957
|
});
|
|
958
|
+
/** Gets the current configuration of the specified service. */
|
|
959
|
+
await gapi.client.appengine.projects.locations.applications.services.get({
|
|
960
|
+
applicationsId: "Test string",
|
|
961
|
+
locationsId: "Test string",
|
|
962
|
+
projectsId: "Test string",
|
|
963
|
+
servicesId: "Test string",
|
|
964
|
+
});
|
|
965
|
+
/** Lists all the services in the application. */
|
|
966
|
+
await gapi.client.appengine.projects.locations.applications.services.list({
|
|
967
|
+
applicationsId: "Test string",
|
|
968
|
+
locationsId: "Test string",
|
|
969
|
+
pageSize: 42,
|
|
970
|
+
pageToken: "Test string",
|
|
971
|
+
projectsId: "Test string",
|
|
972
|
+
});
|
|
958
973
|
}
|
|
959
974
|
});
|