Skip to content

Commit

Permalink
feat: [recaptchaenterprise] A new enum Challenge is added (#5807)
Browse files Browse the repository at this point in the history
* feat: A new enum `Challenge` is added
feat: A new field `challenge` is added to message `.google.cloud.recaptchaenterprise.v1.RiskAnalysis`

PiperOrigin-RevId: 695828238

Source-Link: googleapis/googleapis@2aabebc

Source-Link: googleapis/googleapis-gen@9ebf4d5
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlY2FwdGNoYWVudGVycHJpc2UvLk93bEJvdC55YW1sIiwiaCI6IjllYmY0ZDUwNTYzNTMxMWRmYTU2NzhiMzVkMDFlN2ZmMzg1ZWNlMzcifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Nov 14, 2024
1 parent 0e61aec commit 9cfcf1f
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,22 @@ message RiskAnalysis {
SUSPECTED_CHARGEBACK = 7;
}

// Challenge information for SCORE_AND_CHALLENGE keys
enum Challenge {
// Default unspecified type.
CHALLENGE_UNSPECIFIED = 0;

// No challenge was presented for solving.
NOCAPTCHA = 1;

// A solution was submitted that was correct.
PASSED = 2;

// A solution was submitted that was incorrect or otherwise
// deemed suspicious.
FAILED = 3;
}

// Output only. Legitimate event score from 0.0 to 1.0.
// (1.0 means very likely legitimate traffic while 0.0 means very likely
// non-legitimate traffic).
Expand All @@ -1009,6 +1025,9 @@ message RiskAnalysis {
// The set of possible reasons is subject to change.
repeated string extended_verdict_reasons = 3
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Challenge information for SCORE_AND_CHALLENGE keys
Challenge challenge = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Properties of the provided event token.
Expand Down
14 changes: 14 additions & 0 deletions packages/google-cloud-recaptchaenterprise/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 72 additions & 1 deletion packages/google-cloud-recaptchaenterprise/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions packages/google-cloud-recaptchaenterprise/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9cfcf1f

Please sign in to comment.