@maxim_mazurok/gapi.client.prod_tt_sasportal-v1alpha1 0.0.20230206 → 0.0.20230212
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 +64 -1
- package/package.json +1 -1
- package/readme.md +5 -0
- package/tests.ts +5 -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://prod-tt-sasportal.googleapis.com/$discovery/rest?version=v1alpha1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230212
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -351,6 +351,13 @@ declare namespace gapi.client {
|
|
|
351
351
|
*/
|
|
352
352
|
etag?: string;
|
|
353
353
|
}
|
|
354
|
+
// tslint:disable-next-line:no-empty-interface
|
|
355
|
+
interface SasPortalProvisionDeploymentRequest {
|
|
356
|
+
}
|
|
357
|
+
interface SasPortalProvisionDeploymentResponse {
|
|
358
|
+
/** Optional. Optional error message if the provisioning request is not successful. */
|
|
359
|
+
errorMessage?: string;
|
|
360
|
+
}
|
|
354
361
|
interface SasPortalSetPolicyRequest {
|
|
355
362
|
/** Optional. Set the field as `true` to disable the onboarding notification. */
|
|
356
363
|
disableNotification?: boolean;
|
|
@@ -3980,6 +3987,60 @@ declare namespace gapi.client {
|
|
|
3980
3987
|
},
|
|
3981
3988
|
body: SasPortalTestPermissionsRequest): Request<SasPortalTestPermissionsResponse>;
|
|
3982
3989
|
}
|
|
3990
|
+
interface ProvisioningResource {
|
|
3991
|
+
/** Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found. */
|
|
3992
|
+
provisionDeployment(request: {
|
|
3993
|
+
/** V1 error format. */
|
|
3994
|
+
"$.xgafv"?: string;
|
|
3995
|
+
/** OAuth access token. */
|
|
3996
|
+
access_token?: string;
|
|
3997
|
+
/** Data format for response. */
|
|
3998
|
+
alt?: string;
|
|
3999
|
+
/** JSONP */
|
|
4000
|
+
callback?: string;
|
|
4001
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4002
|
+
fields?: string;
|
|
4003
|
+
/** 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. */
|
|
4004
|
+
key?: string;
|
|
4005
|
+
/** OAuth 2.0 token for the current user. */
|
|
4006
|
+
oauth_token?: string;
|
|
4007
|
+
/** Returns response with indentations and line breaks. */
|
|
4008
|
+
prettyPrint?: boolean;
|
|
4009
|
+
/** 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. */
|
|
4010
|
+
quotaUser?: string;
|
|
4011
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4012
|
+
upload_protocol?: string;
|
|
4013
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4014
|
+
uploadType?: string;
|
|
4015
|
+
/** Request body */
|
|
4016
|
+
resource: SasPortalProvisionDeploymentRequest;
|
|
4017
|
+
}): Request<SasPortalProvisionDeploymentResponse>;
|
|
4018
|
+
provisionDeployment(request: {
|
|
4019
|
+
/** V1 error format. */
|
|
4020
|
+
"$.xgafv"?: string;
|
|
4021
|
+
/** OAuth access token. */
|
|
4022
|
+
access_token?: string;
|
|
4023
|
+
/** Data format for response. */
|
|
4024
|
+
alt?: string;
|
|
4025
|
+
/** JSONP */
|
|
4026
|
+
callback?: string;
|
|
4027
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4028
|
+
fields?: string;
|
|
4029
|
+
/** 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. */
|
|
4030
|
+
key?: string;
|
|
4031
|
+
/** OAuth 2.0 token for the current user. */
|
|
4032
|
+
oauth_token?: string;
|
|
4033
|
+
/** Returns response with indentations and line breaks. */
|
|
4034
|
+
prettyPrint?: boolean;
|
|
4035
|
+
/** 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. */
|
|
4036
|
+
quotaUser?: string;
|
|
4037
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4038
|
+
upload_protocol?: string;
|
|
4039
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4040
|
+
uploadType?: string;
|
|
4041
|
+
},
|
|
4042
|
+
body: SasPortalProvisionDeploymentRequest): Request<SasPortalProvisionDeploymentResponse>;
|
|
4043
|
+
}
|
|
3983
4044
|
|
|
3984
4045
|
const customers: CustomersResource;
|
|
3985
4046
|
|
|
@@ -3990,5 +4051,7 @@ declare namespace gapi.client {
|
|
|
3990
4051
|
const nodes: NodesResource;
|
|
3991
4052
|
|
|
3992
4053
|
const policies: PoliciesResource;
|
|
4054
|
+
|
|
4055
|
+
const provisioning: ProvisioningResource;
|
|
3993
4056
|
}
|
|
3994
4057
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -115,4 +115,9 @@ await gapi.client.prod_tt_sasportal.policies.set({ });
|
|
|
115
115
|
Returns permissions that a caller has on the specified resource.
|
|
116
116
|
*/
|
|
117
117
|
await gapi.client.prod_tt_sasportal.policies.test({ });
|
|
118
|
+
|
|
119
|
+
/*
|
|
120
|
+
Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found.
|
|
121
|
+
*/
|
|
122
|
+
await gapi.client.prod_tt_sasportal.provisioning.provisionDeployment({ });
|
|
118
123
|
```
|
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: 20230212
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -2223,5 +2223,9 @@ gapi.load('client', async () => {
|
|
|
2223
2223
|
],
|
|
2224
2224
|
resource: "Test string",
|
|
2225
2225
|
});
|
|
2226
|
+
/** Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found. */
|
|
2227
|
+
await gapi.client.prod_tt_sasportal.provisioning.provisionDeployment({
|
|
2228
|
+
}, {
|
|
2229
|
+
});
|
|
2226
2230
|
}
|
|
2227
2231
|
});
|