Skip to content

Commit 54a540d

Browse files
feat: add account_verification field to Assessment for MFA (#3709)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 493691493 Source-Link: https://togithub.com/googleapis/googleapis/commit/c9560d8f8f535936baff1fcda1f12806e38f67b9 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/ec825c8ef9987b67d43dfffab50914e032275d63 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlY2FwdGNoYWVudGVycHJpc2UvLk93bEJvdC55YW1sIiwiaCI6ImVjODI1YzhlZjk5ODdiNjdkNDNkZmZmYWI1MDkxNGUwMzIyNzVkNjMifQ==
1 parent dda3727 commit 54a540d

14 files changed

+1476
-182
lines changed

packages/google-cloud-recaptchaenterprise/protos/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto

Lines changed: 184 additions & 69 deletions
Large diffs are not rendered by default.

packages/google-cloud-recaptchaenterprise/protos/protos.d.ts

Lines changed: 274 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-recaptchaenterprise/protos/protos.js

Lines changed: 786 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-recaptchaenterprise/protos/protos.json

Lines changed: 96 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-recaptchaenterprise/samples/generated/v1/recaptcha_enterprise_service.annotate_assessment.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ function main(name) {
3434
*/
3535
// const name = 'abc123'
3636
/**
37-
* Optional. The annotation that will be assigned to the Event. This field can be left
38-
* empty to provide reasons that apply to an event without concluding whether
39-
* the event is legitimate or fraudulent.
37+
* Optional. The annotation that will be assigned to the Event. This field can
38+
* be left empty to provide reasons that apply to an event without concluding
39+
* whether the event is legitimate or fraudulent.
4040
*/
4141
// const annotation = {}
4242
/**
43-
* Optional. Optional reasons for the annotation that will be assigned to the Event.
43+
* Optional. Optional reasons for the annotation that will be assigned to the
44+
* Event.
4445
*/
4546
// const reasons = 1234
4647
/**

packages/google-cloud-recaptchaenterprise/samples/generated/v1/recaptcha_enterprise_service.list_related_account_group_memberships.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ function main(parent) {
3434
*/
3535
// const parent = 'abc123'
3636
/**
37-
* Optional. The maximum number of accounts to return. The service might return fewer
38-
* than this value.
39-
* If unspecified, at most 50 accounts are returned.
40-
* The maximum value is 1000; values above 1000 are coerced to 1000.
37+
* Optional. The maximum number of accounts to return. The service might
38+
* return fewer than this value. If unspecified, at most 50 accounts are
39+
* returned. The maximum value is 1000; values above 1000 are coerced to 1000.
4140
*/
4241
// const pageSize = 1234
4342
/**
44-
* Optional. A page token, received from a previous `ListRelatedAccountGroupMemberships`
45-
* call.
43+
* Optional. A page token, received from a previous
44+
* `ListRelatedAccountGroupMemberships` call.
4645
* When paginating, all other parameters provided to
4746
* `ListRelatedAccountGroupMemberships` must match the call that provided the
4847
* page token.

packages/google-cloud-recaptchaenterprise/samples/generated/v1/recaptcha_enterprise_service.list_related_account_groups.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,19 @@ function main(parent) {
2929
* TODO(developer): Uncomment these variables before running the sample.
3030
*/
3131
/**
32-
* Required. The name of the project to list related account groups from, in the format
33-
* "projects/{project}".
32+
* Required. The name of the project to list related account groups from, in
33+
* the format "projects/{project}".
3434
*/
3535
// const parent = 'abc123'
3636
/**
37-
* Optional. The maximum number of groups to return. The service might return fewer than
38-
* this value.
39-
* If unspecified, at most 50 groups are returned.
40-
* The maximum value is 1000; values above 1000 are coerced to 1000.
37+
* Optional. The maximum number of groups to return. The service might return
38+
* fewer than this value. If unspecified, at most 50 groups are returned. The
39+
* maximum value is 1000; values above 1000 are coerced to 1000.
4140
*/
4241
// const pageSize = 1234
4342
/**
44-
* Optional. A page token, received from a previous `ListRelatedAccountGroups` call.
45-
* Provide this to retrieve the subsequent page.
43+
* Optional. A page token, received from a previous `ListRelatedAccountGroups`
44+
* call. Provide this to retrieve the subsequent page.
4645
* When paginating, all other parameters provided to
4746
* `ListRelatedAccountGroups` must match the call that provided the page
4847
* token.

packages/google-cloud-recaptchaenterprise/samples/generated/v1/recaptcha_enterprise_service.migrate_key.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@ function main(name) {
3333
* "projects/{project}/keys/{key}".
3434
*/
3535
// const name = 'abc123'
36+
/**
37+
* Optional. If true, skips the billing check.
38+
* A reCAPTCHA Enterprise key or migrated key behaves differently than a
39+
* reCAPTCHA (non-Enterprise version) key when you reach a quota limit (see
40+
* https://cloud.google.com/recaptcha-enterprise/quotas#quota_limit). To avoid
41+
* any disruption of your usage, we check that a billing account is present.
42+
* If your usage of reCAPTCHA is under the free quota, you can safely skip the
43+
* billing check and proceed with the migration. See
44+
* https://cloud.google.com/recaptcha-enterprise/docs/billing-information.
45+
*/
46+
// const skipBillingCheck = true
3647

3748
// Imports the Recaptchaenterprise library
3849
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;

packages/google-cloud-recaptchaenterprise/samples/generated/v1/recaptcha_enterprise_service.retrieve_legacy_secret_key.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ function main(key) {
2929
* TODO(developer): Uncomment these variables before running the sample.
3030
*/
3131
/**
32-
* Required. The public key name linked to the requested secret key in the format
33-
* "projects/{project}/keys/{key}".
32+
* Required. The public key name linked to the requested secret key in the
33+
* format "projects/{project}/keys/{key}".
3434
*/
3535
// const key = 'abc123'
3636

packages/google-cloud-recaptchaenterprise/samples/generated/v1/recaptcha_enterprise_service.search_related_account_group_memberships.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@ function main(project) {
2929
* TODO(developer): Uncomment these variables before running the sample.
3030
*/
3131
/**
32-
* Required. The name of the project to search related account group memberships from.
33-
* Specify the project name in the following format: "projects/{project}".
32+
* Required. The name of the project to search related account group
33+
* memberships from. Specify the project name in the following format:
34+
* "projects/{project}".
3435
*/
3536
// const project = 'my-project'
3637
/**
37-
* Optional. The unique stable hashed user identifier we should search connections to.
38-
* The identifier should correspond to a `hashed_account_id` provided in a
39-
* previous `CreateAssessment` or `AnnotateAssessment` call.
38+
* Optional. The unique stable hashed user identifier we should search
39+
* connections to. The identifier should correspond to a `hashed_account_id`
40+
* provided in a previous `CreateAssessment` or `AnnotateAssessment` call.
4041
*/
4142
// const hashedAccountId = 'Buffer.from('string')'
4243
/**
43-
* Optional. The maximum number of groups to return. The service might return fewer than
44-
* this value.
45-
* If unspecified, at most 50 groups are returned.
46-
* The maximum value is 1000; values above 1000 are coerced to 1000.
44+
* Optional. The maximum number of groups to return. The service might return
45+
* fewer than this value. If unspecified, at most 50 groups are returned. The
46+
* maximum value is 1000; values above 1000 are coerced to 1000.
4747
*/
4848
// const pageSize = 1234
4949
/**

0 commit comments

Comments
 (0)