Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Conversation

@Sita04
Copy link
Contributor

@Sita04 Sita04 commented Apr 14, 2022

Added samples and tests for reCAPTCHA Enterprise Account Defender.

@product-auto-label product-auto-label bot added size: l Pull request size is large. api: recaptchaenterprise Issues related to the googleapis/java-recaptchaenterprise API. samples Issues that are directly related to samples. labels Apr 14, 2022
@snippet-bot
Copy link

snippet-bot bot commented Apr 14, 2022

Here is the summary of changes.

You are about to add 5 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment
@Sita04 Sita04 requested a review from a team as a code owner April 14, 2022 06:44
@Sita04 Sita04 changed the title Ato samples docs(samples): added account defender samples and tests Apr 14, 2022
@Sita04 Sita04 added the blunderbuss: assign Instruct blunderbuss to assign someone label Apr 14, 2022
@blunderbuss-gcf blunderbuss-gcf bot removed the blunderbuss: assign Instruct blunderbuss to assign someone label Apr 14, 2022
@eaball35 eaball35 assigned suztomo and unassigned eaball35 May 10, 2022
@Sita04 Sita04 added the automerge Merge the pull request once unit tests and other checks pass. label May 11, 2022
@gcf-merge-on-green
Copy link

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label May 11, 2022
String recaptchaAction = "recaptcha-action";

// Unique ID of the customer, such as email, customer ID, etc.
String uniqueCustomerId = "default" + UUID.randomUUID().toString().split("-")[0];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you consider to align the variable names to the documentation?

https://cloud.google.com/recaptcha-enterprise/docs/account-defender#interpret-assessment-details uses "user identifier", not "customer ID".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing it out! Changed the var name. PTAL

@Sita04 Sita04 requested a review from suztomo May 13, 2022 07:32
@suztomo
Copy link
Member

suztomo commented May 16, 2022

Looks good to me. I don't have sample readability. Let me find appropriate reviewer.

@eaball35 eaball35 self-requested a review May 16, 2022 15:43
@Sita04 Sita04 merged commit eca03a1 into main May 16, 2022
@Sita04 Sita04 deleted the ato-samples branch May 16, 2022 16:25
gcf-merge-on-green bot pushed a commit that referenced this pull request May 24, 2022
🤖 I have created a release *beep* *boop* --- ## [2.6.0](v2.5.0...v2.6.0) (2022-05-19) ### Features * add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-recaptchaenterprise/issues/1440)) ([#799](#799)) ([dddabca](dddabca)) ### Documentation * **samples:** added account defender samples and tests ([#771](#771)) ([eca03a1](eca03a1)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#795](#795)) ([fcdd308](fcdd308)) * update dependency org.springframework.boot:spring-boot-starter-test to v2.7.0 ([#796](#796)) ([2aa3477](2aa3477)) * update dependency org.springframework.boot:spring-boot-starter-thymeleaf to v2.7.0 ([#797](#797)) ([2aac201](2aac201)) * update dependency org.springframework.boot:spring-boot-starter-web to v2.7.0 ([#798](#798)) ([abfb369](abfb369)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actions bot pushed a commit to meltsufin/monorepo-experiments that referenced this pull request May 24, 2022
🤖 I have created a release *beep* *boop* --- ## [2.6.0](googleapis/java-recaptchaenterprise@v2.5.0...v2.6.0) (2022-05-19) ### Features * add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-recaptchaenterprise/issues/1440)) ([#799](googleapis/java-recaptchaenterprise#799)) ([9e5d4da](googleapis/java-recaptchaenterprise@9e5d4da)) ### Documentation * **samples:** added account defender samples and tests ([#771](googleapis/java-recaptchaenterprise#771)) ([77992d1](googleapis/java-recaptchaenterprise@77992d1)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#795](googleapis/java-recaptchaenterprise#795)) ([365a84f](googleapis/java-recaptchaenterprise@365a84f)) * update dependency org.springframework.boot:spring-boot-starter-test to v2.7.0 ([#796](googleapis/java-recaptchaenterprise#796)) ([33674ee](googleapis/java-recaptchaenterprise@33674ee)) * update dependency org.springframework.boot:spring-boot-starter-thymeleaf to v2.7.0 ([#797](googleapis/java-recaptchaenterprise#797)) ([91e2e99](googleapis/java-recaptchaenterprise@91e2e99)) * update dependency org.springframework.boot:spring-boot-starter-web to v2.7.0 ([#798](googleapis/java-recaptchaenterprise#798)) ([92ff237](googleapis/java-recaptchaenterprise@92ff237)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: recaptchaenterprise Issues related to the googleapis/java-recaptchaenterprise API. samples Issues that are directly related to samples. size: l Pull request size is large.

5 participants