Skip to content

Commit 61a2fc9

Browse files
feat(beyondcorp): update the api
#### beyondcorp:v1alpha The following keys were added: - resources.organizations.resources.locations.resources.subscriptions.methods.patch (Total Keys: 16)
1 parent 7a4f54c commit 61a2fc9

File tree

3 files changed

+85
-2
lines changed

3 files changed

+85
-2
lines changed

docs/dyn/beyondcorp_v1alpha.organizations.locations.subscriptions.html

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ <h2>Instance Methods</h2>
8989
<p class="toc_element">
9090
<code><a href="#list_next">list_next()</a></code></p>
9191
<p class="firstline">Retrieves the next page of results.</p>
92+
<p class="toc_element">
93+
<code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
94+
<p class="firstline">Updates an existing BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization.</p>
9295
<h3>Method Details</h3>
9396
<div class="method">
9497
<code class="details" id="close">close()</code>
@@ -212,4 +215,48 @@ <h3>Method Details</h3>
212215
</pre>
213216
</div>
214217

218+
<div class="method">
219+
<code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
220+
<pre>Updates an existing BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization.
221+
222+
Args:
223+
name: string, Required. Unique resource name of the Subscription. The name is ignored when creating a subscription. (required)
224+
body: object, The request body.
225+
The object takes the form of:
226+
227+
{ # A BeyondCorp Subscription resource represents BeyondCorp Enterprise Subscription. BeyondCorp Enterprise Subscription enables BeyondCorp Enterprise permium features for an organization.
228+
&quot;autoRenewEnabled&quot;: True or False, # Output only. Represents that, if subscription will renew or end when the term ends.
229+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the subscription.
230+
&quot;endTime&quot;: &quot;A String&quot;, # Output only. End time of the subscription.
231+
&quot;name&quot;: &quot;A String&quot;, # Required. Unique resource name of the Subscription. The name is ignored when creating a subscription.
232+
&quot;seatCount&quot;: &quot;A String&quot;, # Optional. Number of seats in the subscription.
233+
&quot;sku&quot;: &quot;A String&quot;, # Required. SKU of subscription.
234+
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the subscription.
235+
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the subscription.
236+
&quot;type&quot;: &quot;A String&quot;, # Required. Type of subscription.
237+
}
238+
239+
requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
240+
updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the Subscription resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields will be overwritten. Mutable fields: type, state.
241+
x__xgafv: string, V1 error format.
242+
Allowed values
243+
1 - v1 error format
244+
2 - v2 error format
245+
246+
Returns:
247+
An object of the form:
248+
249+
{ # A BeyondCorp Subscription resource represents BeyondCorp Enterprise Subscription. BeyondCorp Enterprise Subscription enables BeyondCorp Enterprise permium features for an organization.
250+
&quot;autoRenewEnabled&quot;: True or False, # Output only. Represents that, if subscription will renew or end when the term ends.
251+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the subscription.
252+
&quot;endTime&quot;: &quot;A String&quot;, # Output only. End time of the subscription.
253+
&quot;name&quot;: &quot;A String&quot;, # Required. Unique resource name of the Subscription. The name is ignored when creating a subscription.
254+
&quot;seatCount&quot;: &quot;A String&quot;, # Optional. Number of seats in the subscription.
255+
&quot;sku&quot;: &quot;A String&quot;, # Required. SKU of subscription.
256+
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the subscription.
257+
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the subscription.
258+
&quot;type&quot;: &quot;A String&quot;, # Required. Type of subscription.
259+
}</pre>
260+
</div>
261+
215262
</body></html>

googleapiclient/discovery_cache/documents/beyondcorp.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1804,7 +1804,7 @@
18041804
}
18051805
}
18061806
},
1807-
"revision": "20240410",
1807+
"revision": "20240417",
18081808
"rootUrl": "https://beyondcorp.googleapis.com/",
18091809
"schemas": {
18101810
"AllocatedConnection": {

googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,6 +1285,42 @@
12851285
"response": {
12861286
"$ref": "GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse"
12871287
}
1288+
},
1289+
"patch": {
1290+
"description": "Updates an existing BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization.",
1291+
"flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/subscriptions/{subscriptionsId}",
1292+
"httpMethod": "PATCH",
1293+
"id": "beyondcorp.organizations.locations.subscriptions.patch",
1294+
"parameterOrder": [
1295+
"name"
1296+
],
1297+
"parameters": {
1298+
"name": {
1299+
"description": "Required. Unique resource name of the Subscription. The name is ignored when creating a subscription.",
1300+
"location": "path",
1301+
"pattern": "^organizations/[^/]+/locations/[^/]+/subscriptions/[^/]+$",
1302+
"required": true,
1303+
"type": "string"
1304+
},
1305+
"requestId": {
1306+
"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
1307+
"location": "query",
1308+
"type": "string"
1309+
},
1310+
"updateMask": {
1311+
"description": "Required. Field mask is used to specify the fields to be overwritten in the Subscription resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields will be overwritten. Mutable fields: type, state.",
1312+
"format": "google-fieldmask",
1313+
"location": "query",
1314+
"type": "string"
1315+
}
1316+
},
1317+
"path": "v1alpha/{+name}",
1318+
"request": {
1319+
"$ref": "GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription"
1320+
},
1321+
"response": {
1322+
"$ref": "GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription"
1323+
}
12881324
}
12891325
}
12901326
}
@@ -3903,7 +3939,7 @@
39033939
}
39043940
}
39053941
},
3906-
"revision": "20240410",
3942+
"revision": "20240417",
39073943
"rootUrl": "https://beyondcorp.googleapis.com/",
39083944
"schemas": {
39093945
"AllocatedConnection": {

0 commit comments

Comments
 (0)