Skip to content

Commit 672441f

Browse files
feat(sasportal): update the api
#### sasportal:v1alpha1 The following keys were added: - resources.customers.methods.provisionDeployment (Total Keys: 8) - schemas.SasPortalProvisionDeploymentRequest (Total Keys: 2) - schemas.SasPortalProvisionDeploymentResponse (Total Keys: 3)
1 parent 433518c commit 672441f

File tree

2 files changed

+63
-1
lines changed

2 files changed

+63
-1
lines changed

docs/dyn/sasportal_v1alpha1.customers.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ <h2>Instance Methods</h2>
104104
<p class="toc_element">
105105
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
106106
<p class="firstline">Updates an existing customer.</p>
107+
<p class="toc_element">
108+
<code><a href="#provisionDeployment">provisionDeployment(body=None, x__xgafv=None)</a></code></p>
109+
<p class="firstline">Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found.</p>
107110
<h3>Method Details</h3>
108111
<div class="method">
109112
<code class="details" id="close">close()</code>
@@ -211,4 +214,28 @@ <h3>Method Details</h3>
211214
}</pre>
212215
</div>
213216

217+
<div class="method">
218+
<code class="details" id="provisionDeployment">provisionDeployment(body=None, x__xgafv=None)</code>
219+
<pre>Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found.
220+
221+
Args:
222+
body: object, The request body.
223+
The object takes the form of:
224+
225+
{ # Request for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.ProvisionDeployment]. No input is needed, because GCP Project, Organization Info, and caller’s GAIA ID should be retrieved from the RPC handler, and used as inputs to create a new SAS organization (if not exists) and a new SAS deployment.
226+
}
227+
228+
x__xgafv: string, V1 error format.
229+
Allowed values
230+
1 - v1 error format
231+
2 - v2 error format
232+
233+
Returns:
234+
An object of the form:
235+
236+
{ # Response for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.ProvisionDeployment].
237+
&quot;errorMessage&quot;: &quot;A String&quot;, # Optional. Optional error message if the provisioning request is not successful.
238+
}</pre>
239+
</div>
240+
214241
</body></html>

googleapiclient/discovery_cache/documents/sasportal.v1alpha1.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,24 @@
191191
"scopes": [
192192
"https://www.googleapis.com/auth/sasportal"
193193
]
194+
},
195+
"provisionDeployment": {
196+
"description": "Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found.",
197+
"flatPath": "v1alpha1/customers:provisionDeployment",
198+
"httpMethod": "POST",
199+
"id": "sasportal.customers.provisionDeployment",
200+
"parameterOrder": [],
201+
"parameters": {},
202+
"path": "v1alpha1/customers:provisionDeployment",
203+
"request": {
204+
"$ref": "SasPortalProvisionDeploymentRequest"
205+
},
206+
"response": {
207+
"$ref": "SasPortalProvisionDeploymentResponse"
208+
},
209+
"scopes": [
210+
"https://www.googleapis.com/auth/sasportal"
211+
]
194212
}
195213
},
196214
"resources": {
@@ -2483,7 +2501,7 @@
24832501
}
24842502
}
24852503
},
2486-
"revision": "20230131",
2504+
"revision": "20230220",
24872505
"rootUrl": "https://sasportal.googleapis.com/",
24882506
"schemas": {
24892507
"SasPortalAssignment": {
@@ -3292,6 +3310,23 @@
32923310
},
32933311
"type": "object"
32943312
},
3313+
"SasPortalProvisionDeploymentRequest": {
3314+
"description": "Request for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.ProvisionDeployment]. No input is needed, because GCP Project, Organization Info, and caller\u2019s GAIA ID should be retrieved from the RPC handler, and used as inputs to create a new SAS organization (if not exists) and a new SAS deployment.",
3315+
"id": "SasPortalProvisionDeploymentRequest",
3316+
"properties": {},
3317+
"type": "object"
3318+
},
3319+
"SasPortalProvisionDeploymentResponse": {
3320+
"description": "Response for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.ProvisionDeployment].",
3321+
"id": "SasPortalProvisionDeploymentResponse",
3322+
"properties": {
3323+
"errorMessage": {
3324+
"description": "Optional. Optional error message if the provisioning request is not successful.",
3325+
"type": "string"
3326+
}
3327+
},
3328+
"type": "object"
3329+
},
32953330
"SasPortalSetPolicyRequest": {
32963331
"description": "Request message for `SetPolicy` method.",
32973332
"id": "SasPortalSetPolicyRequest",

0 commit comments

Comments
 (0)