|
516 | 516 | "https://www.googleapis.com/auth/cloud-platform"
|
517 | 517 | ]
|
518 | 518 | },
|
| 519 | + "listIpOverrides": { |
| 520 | + "description": "Lists all IP overrides for a key.", |
| 521 | + "flatPath": "v1/projects/{projectsId}/keys/{keysId}:listIpOverrides", |
| 522 | + "httpMethod": "GET", |
| 523 | + "id": "recaptchaenterprise.projects.keys.listIpOverrides", |
| 524 | + "parameterOrder": [ |
| 525 | + "parent" |
| 526 | + ], |
| 527 | + "parameters": { |
| 528 | + "pageSize": { |
| 529 | + "description": "Optional. The maximum number of overrides to return. Default is 10. Max limit is 100. If the number of overrides is less than the page_size, all overrides are returned. If the page size is more than 100, it is coerced to 100.", |
| 530 | + "format": "int32", |
| 531 | + "location": "query", |
| 532 | + "type": "integer" |
| 533 | + }, |
| 534 | + "pageToken": { |
| 535 | + "description": "Optional. The next_page_token value returned from a previous ListIpOverridesRequest, if any.", |
| 536 | + "location": "query", |
| 537 | + "type": "string" |
| 538 | + }, |
| 539 | + "parent": { |
| 540 | + "description": "Required. The parent key for which the IP overrides are listed, in the format `projects/{project}/keys/{key}`.", |
| 541 | + "location": "path", |
| 542 | + "pattern": "^projects/[^/]+/keys/[^/]+$", |
| 543 | + "required": true, |
| 544 | + "type": "string" |
| 545 | + } |
| 546 | + }, |
| 547 | + "path": "v1/{+parent}:listIpOverrides", |
| 548 | + "response": { |
| 549 | + "$ref": "GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse" |
| 550 | + }, |
| 551 | + "scopes": [ |
| 552 | + "https://www.googleapis.com/auth/cloud-platform" |
| 553 | + ] |
| 554 | + }, |
519 | 555 | "migrate": {
|
520 | 556 | "description": "Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise. Once a key is migrated, it can be used from either product. SiteVerify requests are billed as CreateAssessment calls. You must be authenticated as one of the current owners of the reCAPTCHA Key, and your user must have the reCAPTCHA Enterprise Admin IAM role in the destination project.",
|
521 | 557 | "flatPath": "v1/projects/{projectsId}/keys/{keysId}:migrate",
|
|
578 | 614 | "https://www.googleapis.com/auth/cloud-platform"
|
579 | 615 | ]
|
580 | 616 | },
|
| 617 | + "removeIpOverride": { |
| 618 | + "description": "Removes an IP override from a key. The following restrictions hold: * If the IP isn't found in an existing IP override, a `NOT_FOUND` error will be returned. * If the IP is found in an existing IP override, but the override type does not match, a `NOT_FOUND` error will be returned.", |
| 619 | + "flatPath": "v1/projects/{projectsId}/keys/{keysId}:removeIpOverride", |
| 620 | + "httpMethod": "POST", |
| 621 | + "id": "recaptchaenterprise.projects.keys.removeIpOverride", |
| 622 | + "parameterOrder": [ |
| 623 | + "name" |
| 624 | + ], |
| 625 | + "parameters": { |
| 626 | + "name": { |
| 627 | + "description": "Required. The name of the key from which the IP override is removed, in the format `projects/{project}/keys/{key}`.", |
| 628 | + "location": "path", |
| 629 | + "pattern": "^projects/[^/]+/keys/[^/]+$", |
| 630 | + "required": true, |
| 631 | + "type": "string" |
| 632 | + } |
| 633 | + }, |
| 634 | + "path": "v1/{+name}:removeIpOverride", |
| 635 | + "request": { |
| 636 | + "$ref": "GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest" |
| 637 | + }, |
| 638 | + "response": { |
| 639 | + "$ref": "GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse" |
| 640 | + }, |
| 641 | + "scopes": [ |
| 642 | + "https://www.googleapis.com/auth/cloud-platform" |
| 643 | + ] |
| 644 | + }, |
581 | 645 | "retrieveLegacySecretKey": {
|
582 | 646 | "description": "Returns the secret key related to the specified public key. You must use the legacy secret key only in a 3rd party integration with legacy reCAPTCHA.",
|
583 | 647 | "flatPath": "v1/projects/{projectsId}/keys/{keysId}:retrieveLegacySecretKey",
|
|
722 | 786 | }
|
723 | 787 | }
|
724 | 788 | },
|
725 |
| - "revision": "20240804", |
| 789 | + "revision": "20240811", |
726 | 790 | "rootUrl": "https://recaptchaenterprise.googleapis.com/",
|
727 | 791 | "schemas": {
|
728 | 792 | "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
|
|
1538 | 1602 | },
|
1539 | 1603 | "type": "object"
|
1540 | 1604 | },
|
| 1605 | + "GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse": { |
| 1606 | + "description": "Response for ListIpOverrides.", |
| 1607 | + "id": "GoogleCloudRecaptchaenterpriseV1ListIpOverridesResponse", |
| 1608 | + "properties": { |
| 1609 | + "ipOverrides": { |
| 1610 | + "description": "IP Overrides details.", |
| 1611 | + "items": { |
| 1612 | + "$ref": "GoogleCloudRecaptchaenterpriseV1IpOverrideData" |
| 1613 | + }, |
| 1614 | + "type": "array" |
| 1615 | + }, |
| 1616 | + "nextPageToken": { |
| 1617 | + "description": "Token to retrieve the next page of results. If this field is empty, no keys remain in the results.", |
| 1618 | + "type": "string" |
| 1619 | + } |
| 1620 | + }, |
| 1621 | + "type": "object" |
| 1622 | + }, |
1541 | 1623 | "GoogleCloudRecaptchaenterpriseV1ListKeysResponse": {
|
1542 | 1624 | "description": "Response to request to list keys in a project.",
|
1543 | 1625 | "id": "GoogleCloudRecaptchaenterpriseV1ListKeysResponse",
|
|
1710 | 1792 | },
|
1711 | 1793 | "type": "object"
|
1712 | 1794 | },
|
| 1795 | + "GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest": { |
| 1796 | + "description": "The removeIpOverride request message.", |
| 1797 | + "id": "GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest", |
| 1798 | + "properties": { |
| 1799 | + "ipOverrideData": { |
| 1800 | + "$ref": "GoogleCloudRecaptchaenterpriseV1IpOverrideData", |
| 1801 | + "description": "Required. IP override to be removed from the key." |
| 1802 | + } |
| 1803 | + }, |
| 1804 | + "type": "object" |
| 1805 | + }, |
| 1806 | + "GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse": { |
| 1807 | + "description": "Response for RemoveIpOverride.", |
| 1808 | + "id": "GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse", |
| 1809 | + "properties": {}, |
| 1810 | + "type": "object" |
| 1811 | + }, |
1713 | 1812 | "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest": {
|
1714 | 1813 | "description": "The reorder firewall policies request message.",
|
1715 | 1814 | "id": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest",
|
|
0 commit comments