Skip to content

Commit

Permalink
feat: add account_verification field to Assessment for MFA (#3709)
Browse files Browse the repository at this point in the history
- [ ] 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==
  • Loading branch information
gcf-owl-bot[bot] authored Dec 12, 2022
1 parent dda3727 commit 54a540d
Show file tree
Hide file tree
Showing 14 changed files with 1,476 additions and 182 deletions.

Large diffs are not rendered by default.

274 changes: 274 additions & 0 deletions packages/google-cloud-recaptchaenterprise/protos/protos.d.ts

Large diffs are not rendered by default.

787 changes: 786 additions & 1 deletion packages/google-cloud-recaptchaenterprise/protos/protos.js

Large diffs are not rendered by default.

96 changes: 96 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.

Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ function main(name) {
*/
// const name = 'abc123'
/**
* Optional. The annotation that will be assigned to the Event. This field can be left
* empty to provide reasons that apply to an event without concluding whether
* the event is legitimate or fraudulent.
* Optional. The annotation that will be assigned to the Event. This field can
* be left empty to provide reasons that apply to an event without concluding
* whether the event is legitimate or fraudulent.
*/
// const annotation = {}
/**
* Optional. Optional reasons for the annotation that will be assigned to the Event.
* Optional. Optional reasons for the annotation that will be assigned to the
* Event.
*/
// const reasons = 1234
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,14 @@ function main(parent) {
*/
// const parent = 'abc123'
/**
* Optional. The maximum number of accounts to return. The service might return fewer
* than this value.
* If unspecified, at most 50 accounts are returned.
* The maximum value is 1000; values above 1000 are coerced to 1000.
* Optional. The maximum number of accounts to return. The service might
* return fewer than this value. If unspecified, at most 50 accounts are
* returned. The maximum value is 1000; values above 1000 are coerced to 1000.
*/
// const pageSize = 1234
/**
* Optional. A page token, received from a previous `ListRelatedAccountGroupMemberships`
* call.
* Optional. A page token, received from a previous
* `ListRelatedAccountGroupMemberships` call.
* When paginating, all other parameters provided to
* `ListRelatedAccountGroupMemberships` must match the call that provided the
* page token.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,19 @@ function main(parent) {
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The name of the project to list related account groups from, in the format
* "projects/{project}".
* Required. The name of the project to list related account groups from, in
* the format "projects/{project}".
*/
// const parent = 'abc123'
/**
* Optional. The maximum number of groups to return. The service might return fewer than
* this value.
* If unspecified, at most 50 groups are returned.
* The maximum value is 1000; values above 1000 are coerced to 1000.
* Optional. The maximum number of groups to return. The service might return
* fewer than this value. If unspecified, at most 50 groups are returned. The
* maximum value is 1000; values above 1000 are coerced to 1000.
*/
// const pageSize = 1234
/**
* Optional. A page token, received from a previous `ListRelatedAccountGroups` call.
* Provide this to retrieve the subsequent page.
* Optional. A page token, received from a previous `ListRelatedAccountGroups`
* call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to
* `ListRelatedAccountGroups` must match the call that provided the page
* token.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ function main(name) {
* "projects/{project}/keys/{key}".
*/
// const name = 'abc123'
/**
* Optional. If true, skips the billing check.
* A reCAPTCHA Enterprise key or migrated key behaves differently than a
* reCAPTCHA (non-Enterprise version) key when you reach a quota limit (see
* https://cloud.google.com/recaptcha-enterprise/quotas#quota_limit). To avoid
* any disruption of your usage, we check that a billing account is present.
* If your usage of reCAPTCHA is under the free quota, you can safely skip the
* billing check and proceed with the migration. See
* https://cloud.google.com/recaptcha-enterprise/docs/billing-information.
*/
// const skipBillingCheck = true

// Imports the Recaptchaenterprise library
const {RecaptchaEnterpriseServiceClient} = require('@google-cloud/recaptcha-enterprise').v1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ function main(key) {
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The public key name linked to the requested secret key in the format
* "projects/{project}/keys/{key}".
* Required. The public key name linked to the requested secret key in the
* format "projects/{project}/keys/{key}".
*/
// const key = 'abc123'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ function main(project) {
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The name of the project to search related account group memberships from.
* Specify the project name in the following format: "projects/{project}".
* Required. The name of the project to search related account group
* memberships from. Specify the project name in the following format:
* "projects/{project}".
*/
// const project = 'my-project'
/**
* Optional. The unique stable hashed user identifier we should search connections to.
* The identifier should correspond to a `hashed_account_id` provided in a
* previous `CreateAssessment` or `AnnotateAssessment` call.
* Optional. The unique stable hashed user identifier we should search
* connections to. The identifier should correspond to a `hashed_account_id`
* provided in a previous `CreateAssessment` or `AnnotateAssessment` call.
*/
// const hashedAccountId = 'Buffer.from('string')'
/**
* Optional. The maximum number of groups to return. The service might return fewer than
* this value.
* If unspecified, at most 50 groups are returned.
* The maximum value is 1000; values above 1000 are coerced to 1000.
* Optional. The maximum number of groups to return. The service might return
* fewer than this value. If unspecified, at most 50 groups are returned. The
* maximum value is 1000; values above 1000 are coerced to 1000.
*/
// const pageSize = 1234
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ function main(key) {
*/
// const key = {}
/**
* Optional. The mask to control which fields of the key get updated. If the mask is not
* present, all fields will be updated.
* Optional. The mask to control which fields of the key get updated. If the
* mask is not present, all fields will be updated.
*/
// const updateMask = {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"segments": [
{
"start": 25,
"end": 72,
"end": 73,
"type": "FULL"
}
],
Expand Down Expand Up @@ -374,7 +374,7 @@
"segments": [
{
"start": 25,
"end": 54,
"end": 65,
"type": "FULL"
}
],
Expand All @@ -386,6 +386,10 @@
{
"name": "name",
"type": "TYPE_STRING"
},
{
"name": "skip_billing_check",
"type": "TYPE_BOOL"
}
],
"resultType": ".google.cloud.recaptchaenterprise.v1.Key",
Expand Down Expand Up @@ -454,7 +458,7 @@
"segments": [
{
"start": 25,
"end": 71,
"end": 70,
"type": "FULL"
}
],
Expand Down Expand Up @@ -502,7 +506,7 @@
"segments": [
{
"start": 25,
"end": 71,
"end": 70,
"type": "FULL"
}
],
Expand Down
Loading

0 comments on commit 54a540d

Please sign in to comment.