Skip to content

Commit

Permalink
feat(recaptchaenterprise): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Jan 23, 2024
1 parent 268437c commit 4490a59
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 1 deletion.
30 changes: 30 additions & 0 deletions docs/dyn/recaptchaenterprise_v1.projects.firewallpolicies.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates the specified firewall policy.</p>
<p class="toc_element">
<code><a href="#reorder">reorder(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Reorders all firewall policies.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
Expand Down Expand Up @@ -351,4 +354,31 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="reorder">reorder(parent, body=None, x__xgafv=None)</code>
<pre>Reorders all firewall policies.

Args:
parent: string, Required. The name of the project to list the policies for, in the format `projects/{project}`. (required)
body: object, The request body.
The object takes the form of:

{ # The reorder firewall policies request message.
&quot;names&quot;: [ # Required. A list containing all policy names, in the new order. Each name is in the format `projects/{project}/firewallpolicies/{firewallpolicy}`.
&quot;A String&quot;,
],
}

x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # The reorder firewall policies response message.
}</pre>
</div>

</body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"reorder": {
"description": "Reorders all firewall policies.",
"flatPath": "v1/projects/{projectsId}/firewallpolicies:reorder",
"httpMethod": "POST",
"id": "recaptchaenterprise.projects.firewallpolicies.reorder",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The name of the project to list the policies for, in the format `projects/{project}`.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/firewallpolicies:reorder",
"request": {
"$ref": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest"
},
"response": {
"$ref": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
Expand Down Expand Up @@ -666,7 +694,7 @@
}
}
},
"revision": "20240107",
"revision": "20240113",
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
"schemas": {
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
Expand Down Expand Up @@ -1554,6 +1582,26 @@ true
},
"type": "object"
},
"GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest": {
"description": "The reorder firewall policies request message.",
"id": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest",
"properties": {
"names": {
"description": "Required. A list containing all policy names, in the new order. Each name is in the format `projects/{project}/firewallpolicies/{firewallpolicy}`.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse": {
"description": "The reorder firewall policies response message.",
"id": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse",
"properties": {},
"type": "object"
},
"GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse": {
"description": "Secret key is used only in legacy reCAPTCHA. It must be used in a 3rd party integration with legacy reCAPTCHA.",
"id": "GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse",
Expand Down

0 comments on commit 4490a59

Please sign in to comment.