|
786 | 786 | }
|
787 | 787 | }
|
788 | 788 | },
|
789 |
| - "revision": "20250608", |
| 789 | + "revision": "20250706", |
790 | 790 | "rootUrl": "https://recaptchaenterprise.googleapis.com/",
|
791 | 791 | "schemas": {
|
792 | 792 | "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
|
|
1922 | 1922 | "id": "GoogleCloudRecaptchaenterpriseV1RiskAnalysis",
|
1923 | 1923 | "properties": {
|
1924 | 1924 | "challenge": {
|
1925 |
| - "description": "Output only. Challenge information for SCORE_AND_CHALLENGE and INVISIBLE keys", |
| 1925 | + "description": "Output only. Challenge information for POLICY_BASED_CHALLENGE and INVISIBLE keys", |
1926 | 1926 | "enum": [
|
1927 | 1927 | "CHALLENGE_UNSPECIFIED",
|
1928 | 1928 | "NOCAPTCHA",
|
|
2544 | 2544 | "type": "array"
|
2545 | 2545 | },
|
2546 | 2546 | "challengeSecurityPreference": {
|
2547 |
| - "description": "Optional. Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE and SCORE_AND_CHALLENGE.", |
| 2547 | + "description": "Optional. Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for `IntegrationType` CHECKBOX, INVISIBLE or POLICY_BASED_CHALLENGE.", |
2548 | 2548 | "enum": [
|
2549 | 2549 | "CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED",
|
2550 | 2550 | "USABILITY",
|
|
2559 | 2559 | ],
|
2560 | 2560 | "type": "string"
|
2561 | 2561 | },
|
| 2562 | + "challengeSettings": { |
| 2563 | + "$ref": "GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings", |
| 2564 | + "description": "Optional. Challenge settings." |
| 2565 | + }, |
2562 | 2566 | "integrationType": {
|
2563 | 2567 | "description": "Required. Describes how this key is integrated with the website.",
|
2564 | 2568 | "enum": [
|
2565 | 2569 | "INTEGRATION_TYPE_UNSPECIFIED",
|
2566 | 2570 | "SCORE",
|
2567 | 2571 | "CHECKBOX",
|
2568 |
| - "INVISIBLE" |
| 2572 | + "INVISIBLE", |
| 2573 | + "POLICY_BASED_CHALLENGE" |
2569 | 2574 | ],
|
2570 | 2575 | "enumDescriptions": [
|
2571 | 2576 | "Default type that indicates this enum hasn't been specified. This is not a valid IntegrationType, one of the other types must be specified instead.",
|
2572 | 2577 | "Only used to produce scores. It doesn't display the \"I'm not a robot\" checkbox and never shows captcha challenges.",
|
2573 | 2578 | "Displays the \"I'm not a robot\" checkbox and may show captcha challenges after it is checked.",
|
2574 |
| - "Doesn't display the \"I'm not a robot\" checkbox, but may show captcha challenges after risk analysis." |
| 2579 | + "Doesn't display the \"I'm not a robot\" checkbox, but may show captcha challenges after risk analysis.", |
| 2580 | + "Displays a visual challenge or not depending on the user risk analysis score." |
2575 | 2581 | ],
|
2576 | 2582 | "type": "string"
|
2577 | 2583 | }
|
2578 | 2584 | },
|
2579 | 2585 | "type": "object"
|
2580 | 2586 | },
|
| 2587 | + "GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings": { |
| 2588 | + "description": "Per-action challenge settings.", |
| 2589 | + "id": "GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings", |
| 2590 | + "properties": { |
| 2591 | + "scoreThreshold": { |
| 2592 | + "description": "Required. A challenge is triggered if the end-user score is below that threshold. Value must be between 0 and 1 (inclusive).", |
| 2593 | + "format": "float", |
| 2594 | + "type": "number" |
| 2595 | + } |
| 2596 | + }, |
| 2597 | + "type": "object" |
| 2598 | + }, |
| 2599 | + "GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings": { |
| 2600 | + "description": "Settings for POLICY_BASED_CHALLENGE keys to control when a challenge is triggered.", |
| 2601 | + "id": "GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings", |
| 2602 | + "properties": { |
| 2603 | + "actionSettings": { |
| 2604 | + "additionalProperties": { |
| 2605 | + "$ref": "GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings" |
| 2606 | + }, |
| 2607 | + "description": "Optional. The action to score threshold map. The action name should be the same as the action name passed in the `data-action` attribute (see https://cloud.google.com/recaptcha/docs/actions-website). Action names are case-insensitive. There is a maximum of 100 action settings. An action name has a maximum length of 100.", |
| 2608 | + "type": "object" |
| 2609 | + }, |
| 2610 | + "defaultSettings": { |
| 2611 | + "$ref": "GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings", |
| 2612 | + "description": "Required. Defines when a challenge is triggered (unless the default threshold is overridden for the given action, see `action_settings`)." |
| 2613 | + } |
| 2614 | + }, |
| 2615 | + "type": "object" |
| 2616 | + }, |
2581 | 2617 | "GoogleProtobufEmpty": {
|
2582 | 2618 | "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
|
2583 | 2619 | "id": "GoogleProtobufEmpty",
|
|
0 commit comments