Skip to content

Commit 4490a59

Browse files
feat(recaptchaenterprise): update the api
#### recaptchaenterprise:v1 The following keys were added: - resources.projects.resources.firewallpolicies.methods.reorder (Total Keys: 12) - schemas.GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest (Total Keys: 4) - schemas.GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse (Total Keys: 2)
1 parent 268437c commit 4490a59

File tree

2 files changed

+79
-1
lines changed

2 files changed

+79
-1
lines changed

docs/dyn/recaptchaenterprise_v1.projects.firewallpolicies.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ <h2>Instance Methods</h2>
9595
<p class="toc_element">
9696
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
9797
<p class="firstline">Updates the specified firewall policy.</p>
98+
<p class="toc_element">
99+
<code><a href="#reorder">reorder(parent, body=None, x__xgafv=None)</a></code></p>
100+
<p class="firstline">Reorders all firewall policies.</p>
98101
<h3>Method Details</h3>
99102
<div class="method">
100103
<code class="details" id="close">close()</code>
@@ -351,4 +354,31 @@ <h3>Method Details</h3>
351354
}</pre>
352355
</div>
353356

357+
<div class="method">
358+
<code class="details" id="reorder">reorder(parent, body=None, x__xgafv=None)</code>
359+
<pre>Reorders all firewall policies.
360+
361+
Args:
362+
parent: string, Required. The name of the project to list the policies for, in the format `projects/{project}`. (required)
363+
body: object, The request body.
364+
The object takes the form of:
365+
366+
{ # The reorder firewall policies request message.
367+
&quot;names&quot;: [ # Required. A list containing all policy names, in the new order. Each name is in the format `projects/{project}/firewallpolicies/{firewallpolicy}`.
368+
&quot;A String&quot;,
369+
],
370+
}
371+
372+
x__xgafv: string, V1 error format.
373+
Allowed values
374+
1 - v1 error format
375+
2 - v2 error format
376+
377+
Returns:
378+
An object of the form:
379+
380+
{ # The reorder firewall policies response message.
381+
}</pre>
382+
</div>
383+
354384
</body></html>

googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,34 @@
316316
"scopes": [
317317
"https://www.googleapis.com/auth/cloud-platform"
318318
]
319+
},
320+
"reorder": {
321+
"description": "Reorders all firewall policies.",
322+
"flatPath": "v1/projects/{projectsId}/firewallpolicies:reorder",
323+
"httpMethod": "POST",
324+
"id": "recaptchaenterprise.projects.firewallpolicies.reorder",
325+
"parameterOrder": [
326+
"parent"
327+
],
328+
"parameters": {
329+
"parent": {
330+
"description": "Required. The name of the project to list the policies for, in the format `projects/{project}`.",
331+
"location": "path",
332+
"pattern": "^projects/[^/]+$",
333+
"required": true,
334+
"type": "string"
335+
}
336+
},
337+
"path": "v1/{+parent}/firewallpolicies:reorder",
338+
"request": {
339+
"$ref": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest"
340+
},
341+
"response": {
342+
"$ref": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse"
343+
},
344+
"scopes": [
345+
"https://www.googleapis.com/auth/cloud-platform"
346+
]
319347
}
320348
}
321349
},
@@ -666,7 +694,7 @@
666694
}
667695
}
668696
},
669-
"revision": "20240107",
697+
"revision": "20240113",
670698
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
671699
"schemas": {
672700
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
@@ -1554,6 +1582,26 @@ true
15541582
},
15551583
"type": "object"
15561584
},
1585+
"GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest": {
1586+
"description": "The reorder firewall policies request message.",
1587+
"id": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest",
1588+
"properties": {
1589+
"names": {
1590+
"description": "Required. A list containing all policy names, in the new order. Each name is in the format `projects/{project}/firewallpolicies/{firewallpolicy}`.",
1591+
"items": {
1592+
"type": "string"
1593+
},
1594+
"type": "array"
1595+
}
1596+
},
1597+
"type": "object"
1598+
},
1599+
"GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse": {
1600+
"description": "The reorder firewall policies response message.",
1601+
"id": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse",
1602+
"properties": {},
1603+
"type": "object"
1604+
},
15571605
"GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse": {
15581606
"description": "Secret key is used only in legacy reCAPTCHA. It must be used in a 3rd party integration with legacy reCAPTCHA.",
15591607
"id": "GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse",

0 commit comments

Comments
 (0)