@maxim_mazurok/gapi.client.prod_tt_sasportal-v1alpha1 0.0.20230207 → 0.0.20230213
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 +60 -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: 20230213
|
|
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;
|
|
@@ -1970,6 +1977,58 @@ declare namespace gapi.client {
|
|
|
1970
1977
|
uploadType?: string;
|
|
1971
1978
|
},
|
|
1972
1979
|
body: SasPortalCustomer): Request<SasPortalCustomer>;
|
|
1980
|
+
/** Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found. */
|
|
1981
|
+
provisionDeployment(request: {
|
|
1982
|
+
/** V1 error format. */
|
|
1983
|
+
"$.xgafv"?: string;
|
|
1984
|
+
/** OAuth access token. */
|
|
1985
|
+
access_token?: string;
|
|
1986
|
+
/** Data format for response. */
|
|
1987
|
+
alt?: string;
|
|
1988
|
+
/** JSONP */
|
|
1989
|
+
callback?: string;
|
|
1990
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1991
|
+
fields?: string;
|
|
1992
|
+
/** 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. */
|
|
1993
|
+
key?: string;
|
|
1994
|
+
/** OAuth 2.0 token for the current user. */
|
|
1995
|
+
oauth_token?: string;
|
|
1996
|
+
/** Returns response with indentations and line breaks. */
|
|
1997
|
+
prettyPrint?: boolean;
|
|
1998
|
+
/** 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. */
|
|
1999
|
+
quotaUser?: string;
|
|
2000
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2001
|
+
upload_protocol?: string;
|
|
2002
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2003
|
+
uploadType?: string;
|
|
2004
|
+
/** Request body */
|
|
2005
|
+
resource: SasPortalProvisionDeploymentRequest;
|
|
2006
|
+
}): Request<SasPortalProvisionDeploymentResponse>;
|
|
2007
|
+
provisionDeployment(request: {
|
|
2008
|
+
/** V1 error format. */
|
|
2009
|
+
"$.xgafv"?: string;
|
|
2010
|
+
/** OAuth access token. */
|
|
2011
|
+
access_token?: string;
|
|
2012
|
+
/** Data format for response. */
|
|
2013
|
+
alt?: string;
|
|
2014
|
+
/** JSONP */
|
|
2015
|
+
callback?: string;
|
|
2016
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2017
|
+
fields?: string;
|
|
2018
|
+
/** 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. */
|
|
2019
|
+
key?: string;
|
|
2020
|
+
/** OAuth 2.0 token for the current user. */
|
|
2021
|
+
oauth_token?: string;
|
|
2022
|
+
/** Returns response with indentations and line breaks. */
|
|
2023
|
+
prettyPrint?: boolean;
|
|
2024
|
+
/** 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. */
|
|
2025
|
+
quotaUser?: string;
|
|
2026
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2027
|
+
upload_protocol?: string;
|
|
2028
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2029
|
+
uploadType?: string;
|
|
2030
|
+
},
|
|
2031
|
+
body: SasPortalProvisionDeploymentRequest): Request<SasPortalProvisionDeploymentResponse>;
|
|
1973
2032
|
deployments: DeploymentsResource;
|
|
1974
2033
|
devices: DevicesResource;
|
|
1975
2034
|
nodes: NodesResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -81,6 +81,11 @@ Updates an existing customer.
|
|
|
81
81
|
*/
|
|
82
82
|
await gapi.client.prod_tt_sasportal.customers.patch({ name: "name", });
|
|
83
83
|
|
|
84
|
+
/*
|
|
85
|
+
Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found.
|
|
86
|
+
*/
|
|
87
|
+
await gapi.client.prod_tt_sasportal.customers.provisionDeployment({ });
|
|
88
|
+
|
|
84
89
|
/*
|
|
85
90
|
Returns a requested deployment.
|
|
86
91
|
*/
|
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: 20230213
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -49,6 +49,10 @@ gapi.load('client', async () => {
|
|
|
49
49
|
"Test string"
|
|
50
50
|
],
|
|
51
51
|
});
|
|
52
|
+
/** Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found. */
|
|
53
|
+
await gapi.client.prod_tt_sasportal.customers.provisionDeployment({
|
|
54
|
+
}, {
|
|
55
|
+
});
|
|
52
56
|
/** Creates a new deployment. */
|
|
53
57
|
await gapi.client.prod_tt_sasportal.customers.deployments.create({
|
|
54
58
|
parent: "Test string",
|