...

Text file src/google.golang.org/api/recaptchaenterprise/v1/recaptchaenterprise-api.json

Documentation: google.golang.org/api/recaptchaenterprise/v1

     1{
     2  "auth": {
     3    "oauth2": {
     4      "scopes": {
     5        "https://www.googleapis.com/auth/cloud-platform": {
     6          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
     7        }
     8      }
     9    }
    10  },
    11  "basePath": "",
    12  "baseUrl": "https://recaptchaenterprise.googleapis.com/",
    13  "batchPath": "batch",
    14  "canonicalName": "Recaptcha Enterprise",
    15  "description": "Help protect your website from fraudulent activity, spam, and abuse without creating friction.",
    16  "discoveryVersion": "v1",
    17  "documentationLink": "https://cloud.google.com/recaptcha-enterprise/",
    18  "fullyEncodeReservedExpansion": true,
    19  "icons": {
    20    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    21    "x32": "http://www.google.com/images/icons/product/search-32.gif"
    22  },
    23  "id": "recaptchaenterprise:v1",
    24  "kind": "discovery#restDescription",
    25  "mtlsRootUrl": "https://recaptchaenterprise.mtls.googleapis.com/",
    26  "name": "recaptchaenterprise",
    27  "ownerDomain": "google.com",
    28  "ownerName": "Google",
    29  "parameters": {
    30    "$.xgafv": {
    31      "description": "V1 error format.",
    32      "enum": [
    33        "1",
    34        "2"
    35      ],
    36      "enumDescriptions": [
    37        "v1 error format",
    38        "v2 error format"
    39      ],
    40      "location": "query",
    41      "type": "string"
    42    },
    43    "access_token": {
    44      "description": "OAuth access token.",
    45      "location": "query",
    46      "type": "string"
    47    },
    48    "alt": {
    49      "default": "json",
    50      "description": "Data format for response.",
    51      "enum": [
    52        "json",
    53        "media",
    54        "proto"
    55      ],
    56      "enumDescriptions": [
    57        "Responses with Content-Type of application/json",
    58        "Media download with context-dependent Content-Type",
    59        "Responses with Content-Type of application/x-protobuf"
    60      ],
    61      "location": "query",
    62      "type": "string"
    63    },
    64    "callback": {
    65      "description": "JSONP",
    66      "location": "query",
    67      "type": "string"
    68    },
    69    "fields": {
    70      "description": "Selector specifying which fields to include in a partial response.",
    71      "location": "query",
    72      "type": "string"
    73    },
    74    "key": {
    75      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
    76      "location": "query",
    77      "type": "string"
    78    },
    79    "oauth_token": {
    80      "description": "OAuth 2.0 token for the current user.",
    81      "location": "query",
    82      "type": "string"
    83    },
    84    "prettyPrint": {
    85      "default": "true",
    86      "description": "Returns response with indentations and line breaks.",
    87      "location": "query",
    88      "type": "boolean"
    89    },
    90    "quotaUser": {
    91      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
    92      "location": "query",
    93      "type": "string"
    94    },
    95    "uploadType": {
    96      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
    97      "location": "query",
    98      "type": "string"
    99    },
   100    "upload_protocol": {
   101      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
   102      "location": "query",
   103      "type": "string"
   104    }
   105  },
   106  "protocol": "rest",
   107  "resources": {
   108    "projects": {
   109      "resources": {
   110        "assessments": {
   111          "methods": {
   112            "annotate": {
   113              "description": "Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fraudulent.",
   114              "flatPath": "v1/projects/{projectsId}/assessments/{assessmentsId}:annotate",
   115              "httpMethod": "POST",
   116              "id": "recaptchaenterprise.projects.assessments.annotate",
   117              "parameterOrder": [
   118                "name"
   119              ],
   120              "parameters": {
   121                "name": {
   122                  "description": "Required. The resource name of the Assessment, in the format `projects/{project}/assessments/{assessment}`.",
   123                  "location": "path",
   124                  "pattern": "^projects/[^/]+/assessments/[^/]+$",
   125                  "required": true,
   126                  "type": "string"
   127                }
   128              },
   129              "path": "v1/{+name}:annotate",
   130              "request": {
   131                "$ref": "GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest"
   132              },
   133              "response": {
   134                "$ref": "GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse"
   135              },
   136              "scopes": [
   137                "https://www.googleapis.com/auth/cloud-platform"
   138              ]
   139            },
   140            "create": {
   141              "description": "Creates an Assessment of the likelihood an event is legitimate.",
   142              "flatPath": "v1/projects/{projectsId}/assessments",
   143              "httpMethod": "POST",
   144              "id": "recaptchaenterprise.projects.assessments.create",
   145              "parameterOrder": [
   146                "parent"
   147              ],
   148              "parameters": {
   149                "parent": {
   150                  "description": "Required. The name of the project in which the assessment will be created, in the format `projects/{project}`.",
   151                  "location": "path",
   152                  "pattern": "^projects/[^/]+$",
   153                  "required": true,
   154                  "type": "string"
   155                }
   156              },
   157              "path": "v1/{+parent}/assessments",
   158              "request": {
   159                "$ref": "GoogleCloudRecaptchaenterpriseV1Assessment"
   160              },
   161              "response": {
   162                "$ref": "GoogleCloudRecaptchaenterpriseV1Assessment"
   163              },
   164              "scopes": [
   165                "https://www.googleapis.com/auth/cloud-platform"
   166              ]
   167            }
   168          }
   169        },
   170        "firewallpolicies": {
   171          "methods": {
   172            "create": {
   173              "description": "Creates a new FirewallPolicy, specifying conditions at which reCAPTCHA Enterprise actions can be executed. A project may have a maximum of 1000 policies.",
   174              "flatPath": "v1/projects/{projectsId}/firewallpolicies",
   175              "httpMethod": "POST",
   176              "id": "recaptchaenterprise.projects.firewallpolicies.create",
   177              "parameterOrder": [
   178                "parent"
   179              ],
   180              "parameters": {
   181                "parent": {
   182                  "description": "Required. The name of the project this policy will apply to, in the format `projects/{project}`.",
   183                  "location": "path",
   184                  "pattern": "^projects/[^/]+$",
   185                  "required": true,
   186                  "type": "string"
   187                }
   188              },
   189              "path": "v1/{+parent}/firewallpolicies",
   190              "request": {
   191                "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallPolicy"
   192              },
   193              "response": {
   194                "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallPolicy"
   195              },
   196              "scopes": [
   197                "https://www.googleapis.com/auth/cloud-platform"
   198              ]
   199            },
   200            "delete": {
   201              "description": "Deletes the specified firewall policy.",
   202              "flatPath": "v1/projects/{projectsId}/firewallpolicies/{firewallpoliciesId}",
   203              "httpMethod": "DELETE",
   204              "id": "recaptchaenterprise.projects.firewallpolicies.delete",
   205              "parameterOrder": [
   206                "name"
   207              ],
   208              "parameters": {
   209                "name": {
   210                  "description": "Required. The name of the policy to be deleted, in the format `projects/{project}/firewallpolicies/{firewallpolicy}`.",
   211                  "location": "path",
   212                  "pattern": "^projects/[^/]+/firewallpolicies/[^/]+$",
   213                  "required": true,
   214                  "type": "string"
   215                }
   216              },
   217              "path": "v1/{+name}",
   218              "response": {
   219                "$ref": "GoogleProtobufEmpty"
   220              },
   221              "scopes": [
   222                "https://www.googleapis.com/auth/cloud-platform"
   223              ]
   224            },
   225            "get": {
   226              "description": "Returns the specified firewall policy.",
   227              "flatPath": "v1/projects/{projectsId}/firewallpolicies/{firewallpoliciesId}",
   228              "httpMethod": "GET",
   229              "id": "recaptchaenterprise.projects.firewallpolicies.get",
   230              "parameterOrder": [
   231                "name"
   232              ],
   233              "parameters": {
   234                "name": {
   235                  "description": "Required. The name of the requested policy, in the format `projects/{project}/firewallpolicies/{firewallpolicy}`.",
   236                  "location": "path",
   237                  "pattern": "^projects/[^/]+/firewallpolicies/[^/]+$",
   238                  "required": true,
   239                  "type": "string"
   240                }
   241              },
   242              "path": "v1/{+name}",
   243              "response": {
   244                "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallPolicy"
   245              },
   246              "scopes": [
   247                "https://www.googleapis.com/auth/cloud-platform"
   248              ]
   249            },
   250            "list": {
   251              "description": "Returns the list of all firewall policies that belong to a project.",
   252              "flatPath": "v1/projects/{projectsId}/firewallpolicies",
   253              "httpMethod": "GET",
   254              "id": "recaptchaenterprise.projects.firewallpolicies.list",
   255              "parameterOrder": [
   256                "parent"
   257              ],
   258              "parameters": {
   259                "pageSize": {
   260                  "description": "Optional. The maximum number of policies to return. Default is 10. Max limit is 1000.",
   261                  "format": "int32",
   262                  "location": "query",
   263                  "type": "integer"
   264                },
   265                "pageToken": {
   266                  "description": "Optional. The next_page_token value returned from a previous. ListFirewallPoliciesRequest, if any.",
   267                  "location": "query",
   268                  "type": "string"
   269                },
   270                "parent": {
   271                  "description": "Required. The name of the project to list the policies for, in the format `projects/{project}`.",
   272                  "location": "path",
   273                  "pattern": "^projects/[^/]+$",
   274                  "required": true,
   275                  "type": "string"
   276                }
   277              },
   278              "path": "v1/{+parent}/firewallpolicies",
   279              "response": {
   280                "$ref": "GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse"
   281              },
   282              "scopes": [
   283                "https://www.googleapis.com/auth/cloud-platform"
   284              ]
   285            },
   286            "patch": {
   287              "description": "Updates the specified firewall policy.",
   288              "flatPath": "v1/projects/{projectsId}/firewallpolicies/{firewallpoliciesId}",
   289              "httpMethod": "PATCH",
   290              "id": "recaptchaenterprise.projects.firewallpolicies.patch",
   291              "parameterOrder": [
   292                "name"
   293              ],
   294              "parameters": {
   295                "name": {
   296                  "description": "Identifier. The resource name for the FirewallPolicy in the format `projects/{project}/firewallpolicies/{firewallpolicy}`.",
   297                  "location": "path",
   298                  "pattern": "^projects/[^/]+/firewallpolicies/[^/]+$",
   299                  "required": true,
   300                  "type": "string"
   301                },
   302                "updateMask": {
   303                  "description": "Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields will be updated.",
   304                  "format": "google-fieldmask",
   305                  "location": "query",
   306                  "type": "string"
   307                }
   308              },
   309              "path": "v1/{+name}",
   310              "request": {
   311                "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallPolicy"
   312              },
   313              "response": {
   314                "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallPolicy"
   315              },
   316              "scopes": [
   317                "https://www.googleapis.com/auth/cloud-platform"
   318              ]
   319            },
   320            "reorder": {
   321              "description": "Reorders all firewall policies.",
   322              "flatPath": "v1/projects/{projectsId}/firewallpolicies:reorder",
   323              "httpMethod": "POST",
   324              "id": "recaptchaenterprise.projects.firewallpolicies.reorder",
   325              "parameterOrder": [
   326                "parent"
   327              ],
   328              "parameters": {
   329                "parent": {
   330                  "description": "Required. The name of the project to list the policies for, in the format `projects/{project}`.",
   331                  "location": "path",
   332                  "pattern": "^projects/[^/]+$",
   333                  "required": true,
   334                  "type": "string"
   335                }
   336              },
   337              "path": "v1/{+parent}/firewallpolicies:reorder",
   338              "request": {
   339                "$ref": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest"
   340              },
   341              "response": {
   342                "$ref": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse"
   343              },
   344              "scopes": [
   345                "https://www.googleapis.com/auth/cloud-platform"
   346              ]
   347            }
   348          }
   349        },
   350        "keys": {
   351          "methods": {
   352            "create": {
   353              "description": "Creates a new reCAPTCHA Enterprise key.",
   354              "flatPath": "v1/projects/{projectsId}/keys",
   355              "httpMethod": "POST",
   356              "id": "recaptchaenterprise.projects.keys.create",
   357              "parameterOrder": [
   358                "parent"
   359              ],
   360              "parameters": {
   361                "parent": {
   362                  "description": "Required. The name of the project in which the key will be created, in the format `projects/{project}`.",
   363                  "location": "path",
   364                  "pattern": "^projects/[^/]+$",
   365                  "required": true,
   366                  "type": "string"
   367                }
   368              },
   369              "path": "v1/{+parent}/keys",
   370              "request": {
   371                "$ref": "GoogleCloudRecaptchaenterpriseV1Key"
   372              },
   373              "response": {
   374                "$ref": "GoogleCloudRecaptchaenterpriseV1Key"
   375              },
   376              "scopes": [
   377                "https://www.googleapis.com/auth/cloud-platform"
   378              ]
   379            },
   380            "delete": {
   381              "description": "Deletes the specified key.",
   382              "flatPath": "v1/projects/{projectsId}/keys/{keysId}",
   383              "httpMethod": "DELETE",
   384              "id": "recaptchaenterprise.projects.keys.delete",
   385              "parameterOrder": [
   386                "name"
   387              ],
   388              "parameters": {
   389                "name": {
   390                  "description": "Required. The name of the key to be deleted, in the format `projects/{project}/keys/{key}`.",
   391                  "location": "path",
   392                  "pattern": "^projects/[^/]+/keys/[^/]+$",
   393                  "required": true,
   394                  "type": "string"
   395                }
   396              },
   397              "path": "v1/{+name}",
   398              "response": {
   399                "$ref": "GoogleProtobufEmpty"
   400              },
   401              "scopes": [
   402                "https://www.googleapis.com/auth/cloud-platform"
   403              ]
   404            },
   405            "get": {
   406              "description": "Returns the specified key.",
   407              "flatPath": "v1/projects/{projectsId}/keys/{keysId}",
   408              "httpMethod": "GET",
   409              "id": "recaptchaenterprise.projects.keys.get",
   410              "parameterOrder": [
   411                "name"
   412              ],
   413              "parameters": {
   414                "name": {
   415                  "description": "Required. The name of the requested key, in the format `projects/{project}/keys/{key}`.",
   416                  "location": "path",
   417                  "pattern": "^projects/[^/]+/keys/[^/]+$",
   418                  "required": true,
   419                  "type": "string"
   420                }
   421              },
   422              "path": "v1/{+name}",
   423              "response": {
   424                "$ref": "GoogleCloudRecaptchaenterpriseV1Key"
   425              },
   426              "scopes": [
   427                "https://www.googleapis.com/auth/cloud-platform"
   428              ]
   429            },
   430            "getMetrics": {
   431              "description": "Get some aggregated metrics for a Key. This data can be used to build dashboards.",
   432              "flatPath": "v1/projects/{projectsId}/keys/{keysId}/metrics",
   433              "httpMethod": "GET",
   434              "id": "recaptchaenterprise.projects.keys.getMetrics",
   435              "parameterOrder": [
   436                "name"
   437              ],
   438              "parameters": {
   439                "name": {
   440                  "description": "Required. The name of the requested metrics, in the format `projects/{project}/keys/{key}/metrics`.",
   441                  "location": "path",
   442                  "pattern": "^projects/[^/]+/keys/[^/]+/metrics$",
   443                  "required": true,
   444                  "type": "string"
   445                }
   446              },
   447              "path": "v1/{+name}",
   448              "response": {
   449                "$ref": "GoogleCloudRecaptchaenterpriseV1Metrics"
   450              },
   451              "scopes": [
   452                "https://www.googleapis.com/auth/cloud-platform"
   453              ]
   454            },
   455            "list": {
   456              "description": "Returns the list of all keys that belong to a project.",
   457              "flatPath": "v1/projects/{projectsId}/keys",
   458              "httpMethod": "GET",
   459              "id": "recaptchaenterprise.projects.keys.list",
   460              "parameterOrder": [
   461                "parent"
   462              ],
   463              "parameters": {
   464                "pageSize": {
   465                  "description": "Optional. The maximum number of keys to return. Default is 10. Max limit is 1000.",
   466                  "format": "int32",
   467                  "location": "query",
   468                  "type": "integer"
   469                },
   470                "pageToken": {
   471                  "description": "Optional. The next_page_token value returned from a previous. ListKeysRequest, if any.",
   472                  "location": "query",
   473                  "type": "string"
   474                },
   475                "parent": {
   476                  "description": "Required. The name of the project that contains the keys that will be listed, in the format `projects/{project}`.",
   477                  "location": "path",
   478                  "pattern": "^projects/[^/]+$",
   479                  "required": true,
   480                  "type": "string"
   481                }
   482              },
   483              "path": "v1/{+parent}/keys",
   484              "response": {
   485                "$ref": "GoogleCloudRecaptchaenterpriseV1ListKeysResponse"
   486              },
   487              "scopes": [
   488                "https://www.googleapis.com/auth/cloud-platform"
   489              ]
   490            },
   491            "migrate": {
   492              "description": "Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise. Once a key is migrated, it can be used from either product. SiteVerify requests are billed as CreateAssessment calls. You must be authenticated as one of the current owners of the reCAPTCHA Key, and your user must have the reCAPTCHA Enterprise Admin IAM role in the destination project.",
   493              "flatPath": "v1/projects/{projectsId}/keys/{keysId}:migrate",
   494              "httpMethod": "POST",
   495              "id": "recaptchaenterprise.projects.keys.migrate",
   496              "parameterOrder": [
   497                "name"
   498              ],
   499              "parameters": {
   500                "name": {
   501                  "description": "Required. The name of the key to be migrated, in the format `projects/{project}/keys/{key}`.",
   502                  "location": "path",
   503                  "pattern": "^projects/[^/]+/keys/[^/]+$",
   504                  "required": true,
   505                  "type": "string"
   506                }
   507              },
   508              "path": "v1/{+name}:migrate",
   509              "request": {
   510                "$ref": "GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest"
   511              },
   512              "response": {
   513                "$ref": "GoogleCloudRecaptchaenterpriseV1Key"
   514              },
   515              "scopes": [
   516                "https://www.googleapis.com/auth/cloud-platform"
   517              ]
   518            },
   519            "patch": {
   520              "description": "Updates the specified key.",
   521              "flatPath": "v1/projects/{projectsId}/keys/{keysId}",
   522              "httpMethod": "PATCH",
   523              "id": "recaptchaenterprise.projects.keys.patch",
   524              "parameterOrder": [
   525                "name"
   526              ],
   527              "parameters": {
   528                "name": {
   529                  "description": "Identifier. The resource name for the Key in the format `projects/{project}/keys/{key}`.",
   530                  "location": "path",
   531                  "pattern": "^projects/[^/]+/keys/[^/]+$",
   532                  "required": true,
   533                  "type": "string"
   534                },
   535                "updateMask": {
   536                  "description": "Optional. The mask to control which fields of the key get updated. If the mask is not present, all fields will be updated.",
   537                  "format": "google-fieldmask",
   538                  "location": "query",
   539                  "type": "string"
   540                }
   541              },
   542              "path": "v1/{+name}",
   543              "request": {
   544                "$ref": "GoogleCloudRecaptchaenterpriseV1Key"
   545              },
   546              "response": {
   547                "$ref": "GoogleCloudRecaptchaenterpriseV1Key"
   548              },
   549              "scopes": [
   550                "https://www.googleapis.com/auth/cloud-platform"
   551              ]
   552            },
   553            "retrieveLegacySecretKey": {
   554              "description": "Returns the secret key related to the specified public key. You must use the legacy secret key only in a 3rd party integration with legacy reCAPTCHA.",
   555              "flatPath": "v1/projects/{projectsId}/keys/{keysId}:retrieveLegacySecretKey",
   556              "httpMethod": "GET",
   557              "id": "recaptchaenterprise.projects.keys.retrieveLegacySecretKey",
   558              "parameterOrder": [
   559                "key"
   560              ],
   561              "parameters": {
   562                "key": {
   563                  "description": "Required. The public key name linked to the requested secret key in the format `projects/{project}/keys/{key}`.",
   564                  "location": "path",
   565                  "pattern": "^projects/[^/]+/keys/[^/]+$",
   566                  "required": true,
   567                  "type": "string"
   568                }
   569              },
   570              "path": "v1/{+key}:retrieveLegacySecretKey",
   571              "response": {
   572                "$ref": "GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse"
   573              },
   574              "scopes": [
   575                "https://www.googleapis.com/auth/cloud-platform"
   576              ]
   577            }
   578          }
   579        },
   580        "relatedaccountgroupmemberships": {
   581          "methods": {
   582            "search": {
   583              "description": "Search group memberships related to a given account.",
   584              "flatPath": "v1/projects/{projectsId}/relatedaccountgroupmemberships:search",
   585              "httpMethod": "POST",
   586              "id": "recaptchaenterprise.projects.relatedaccountgroupmemberships.search",
   587              "parameterOrder": [
   588                "project"
   589              ],
   590              "parameters": {
   591                "project": {
   592                  "description": "Required. The name of the project to search related account group memberships from. Specify the project name in the following format: `projects/{project}`.",
   593                  "location": "path",
   594                  "pattern": "^projects/[^/]+$",
   595                  "required": true,
   596                  "type": "string"
   597                }
   598              },
   599              "path": "v1/{+project}/relatedaccountgroupmemberships:search",
   600              "request": {
   601                "$ref": "GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest"
   602              },
   603              "response": {
   604                "$ref": "GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse"
   605              },
   606              "scopes": [
   607                "https://www.googleapis.com/auth/cloud-platform"
   608              ]
   609            }
   610          }
   611        },
   612        "relatedaccountgroups": {
   613          "methods": {
   614            "list": {
   615              "description": "List groups of related accounts.",
   616              "flatPath": "v1/projects/{projectsId}/relatedaccountgroups",
   617              "httpMethod": "GET",
   618              "id": "recaptchaenterprise.projects.relatedaccountgroups.list",
   619              "parameterOrder": [
   620                "parent"
   621              ],
   622              "parameters": {
   623                "pageSize": {
   624                  "description": "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.",
   625                  "format": "int32",
   626                  "location": "query",
   627                  "type": "integer"
   628                },
   629                "pageToken": {
   630                  "description": "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.",
   631                  "location": "query",
   632                  "type": "string"
   633                },
   634                "parent": {
   635                  "description": "Required. The name of the project to list related account groups from, in the format `projects/{project}`.",
   636                  "location": "path",
   637                  "pattern": "^projects/[^/]+$",
   638                  "required": true,
   639                  "type": "string"
   640                }
   641              },
   642              "path": "v1/{+parent}/relatedaccountgroups",
   643              "response": {
   644                "$ref": "GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse"
   645              },
   646              "scopes": [
   647                "https://www.googleapis.com/auth/cloud-platform"
   648              ]
   649            }
   650          },
   651          "resources": {
   652            "memberships": {
   653              "methods": {
   654                "list": {
   655                  "description": "Get memberships in a group of related accounts.",
   656                  "flatPath": "v1/projects/{projectsId}/relatedaccountgroups/{relatedaccountgroupsId}/memberships",
   657                  "httpMethod": "GET",
   658                  "id": "recaptchaenterprise.projects.relatedaccountgroups.memberships.list",
   659                  "parameterOrder": [
   660                    "parent"
   661                  ],
   662                  "parameters": {
   663                    "pageSize": {
   664                      "description": "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.",
   665                      "format": "int32",
   666                      "location": "query",
   667                      "type": "integer"
   668                    },
   669                    "pageToken": {
   670                      "description": "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.",
   671                      "location": "query",
   672                      "type": "string"
   673                    },
   674                    "parent": {
   675                      "description": "Required. The resource name for the related account group in the format `projects/{project}/relatedaccountgroups/{relatedaccountgroup}`.",
   676                      "location": "path",
   677                      "pattern": "^projects/[^/]+/relatedaccountgroups/[^/]+$",
   678                      "required": true,
   679                      "type": "string"
   680                    }
   681                  },
   682                  "path": "v1/{+parent}/memberships",
   683                  "response": {
   684                    "$ref": "GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse"
   685                  },
   686                  "scopes": [
   687                    "https://www.googleapis.com/auth/cloud-platform"
   688                  ]
   689                }
   690              }
   691            }
   692          }
   693        }
   694      }
   695    }
   696  },
   697  "revision": "20240324",
   698  "rootUrl": "https://recaptchaenterprise.googleapis.com/",
   699  "schemas": {
   700    "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
   701      "description": "Account defender risk assessment.",
   702      "id": "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment",
   703      "properties": {
   704        "labels": {
   705          "description": "Output only. Labels for this request.",
   706          "items": {
   707            "enum": [
   708              "ACCOUNT_DEFENDER_LABEL_UNSPECIFIED",
   709              "PROFILE_MATCH",
   710              "SUSPICIOUS_LOGIN_ACTIVITY",
   711              "SUSPICIOUS_ACCOUNT_CREATION",
   712              "RELATED_ACCOUNTS_NUMBER_HIGH"
   713            ],
   714            "enumDescriptions": [
   715              "Default unspecified type.",
   716              "The request matches a known good profile for the user.",
   717              "The request is potentially a suspicious login event and must be further verified either through multi-factor authentication or another system.",
   718              "The request matched a profile that previously had suspicious account creation behavior. This can mean that this is a fake account.",
   719              "The account in the request has a high number of related accounts. It does not necessarily imply that the account is bad but can require further investigation."
   720            ],
   721            "type": "string"
   722          },
   723          "readOnly": true,
   724          "type": "array"
   725        }
   726      },
   727      "type": "object"
   728    },
   729    "GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo": {
   730      "description": "Information about account verification, used for identity verification.",
   731      "id": "GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo",
   732      "properties": {
   733        "endpoints": {
   734          "description": "Optional. Endpoints that can be used for identity verification.",
   735          "items": {
   736            "$ref": "GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo"
   737          },
   738          "type": "array"
   739        },
   740        "languageCode": {
   741          "description": "Optional. Language code preference for the verification message, set as a IETF BCP 47 language code.",
   742          "type": "string"
   743        },
   744        "latestVerificationResult": {
   745          "description": "Output only. Result of the latest account verification challenge.",
   746          "enum": [
   747            "RESULT_UNSPECIFIED",
   748            "SUCCESS_USER_VERIFIED",
   749            "ERROR_USER_NOT_VERIFIED",
   750            "ERROR_SITE_ONBOARDING_INCOMPLETE",
   751            "ERROR_RECIPIENT_NOT_ALLOWED",
   752            "ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED",
   753            "ERROR_CRITICAL_INTERNAL",
   754            "ERROR_CUSTOMER_QUOTA_EXHAUSTED",
   755            "ERROR_VERIFICATION_BYPASSED",
   756            "ERROR_VERDICT_MISMATCH"
   757          ],
   758          "enumDescriptions": [
   759            "No information about the latest account verification.",
   760            "The user was successfully verified. This means the account verification challenge was successfully completed.",
   761            "The user failed the verification challenge.",
   762            "The site is not properly onboarded to use the account verification feature.",
   763            "The recipient is not allowed for account verification. This can occur during integration but should not occur in production.",
   764            "The recipient has already been sent too many verification codes in a short amount of time.",
   765            "The verification flow could not be completed due to a critical internal error.",
   766            "The client has exceeded their two factor request quota for this period of time.",
   767            "The request cannot be processed at the time because of an incident. This bypass can be restricted to a problematic destination email domain, a customer, or could affect the entire service.",
   768            "The request parameters do not match with the token provided and cannot be processed."
   769          ],
   770          "readOnly": true,
   771          "type": "string"
   772        },
   773        "username": {
   774          "deprecated": true,
   775          "description": "Username of the account that is being verified. Deprecated. Customers should now provide the `account_id` field in `event.user_info`.",
   776          "type": "string"
   777        }
   778      },
   779      "type": "object"
   780    },
   781    "GoogleCloudRecaptchaenterpriseV1AndroidKeySettings": {
   782      "description": "Settings specific to keys that can be used by Android apps.",
   783      "id": "GoogleCloudRecaptchaenterpriseV1AndroidKeySettings",
   784      "properties": {
   785        "allowAllPackageNames": {
   786          "description": "Optional. If set to true, allowed_package_names are not enforced.",
   787          "type": "boolean"
   788        },
   789        "allowedPackageNames": {
   790          "description": "Optional. Android package names of apps allowed to use the key. Example: 'com.companyname.appname'",
   791          "items": {
   792            "type": "string"
   793          },
   794          "type": "array"
   795        },
   796        "supportNonGoogleAppStoreDistribution": {
   797          "description": "Optional. Set to true for keys that are used in an Android application that is available for download in app stores in addition to the Google Play Store.",
   798          "type": "boolean"
   799        }
   800      },
   801      "type": "object"
   802    },
   803    "GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest": {
   804      "description": "The request message to annotate an Assessment.",
   805      "id": "GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest",
   806      "properties": {
   807        "accountId": {
   808          "description": "Optional. A stable account identifier to apply to the assessment. This is an alternative to setting `account_id` in `CreateAssessment`, for example when a stable account identifier is not yet known in the initial request.",
   809          "type": "string"
   810        },
   811        "annotation": {
   812          "description": "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.",
   813          "enum": [
   814            "ANNOTATION_UNSPECIFIED",
   815            "LEGITIMATE",
   816            "FRAUDULENT",
   817            "PASSWORD_CORRECT",
   818            "PASSWORD_INCORRECT"
   819          ],
   820          "enumDeprecated": [
   821            false,
   822            false,
   823            false,
   824            true,
   825            true
   826          ],
   827          "enumDescriptions": [
   828            "Default unspecified type.",
   829            "Provides information that the event turned out to be legitimate.",
   830            "Provides information that the event turned out to be fraudulent.",
   831            "Provides information that the event was related to a login event in which the user typed the correct password. Deprecated, prefer indicating CORRECT_PASSWORD through the reasons field instead.",
   832            "Provides information that the event was related to a login event in which the user typed the incorrect password. Deprecated, prefer indicating INCORRECT_PASSWORD through the reasons field instead."
   833          ],
   834          "type": "string"
   835        },
   836        "hashedAccountId": {
   837          "description": "Optional. A stable hashed account identifier to apply to the assessment. This is an alternative to setting `hashed_account_id` in `CreateAssessment`, for example when a stable account identifier is not yet known in the initial request.",
   838          "format": "byte",
   839          "type": "string"
   840        },
   841        "reasons": {
   842          "description": "Optional. Reasons for the annotation that are assigned to the event.",
   843          "items": {
   844            "enum": [
   845              "REASON_UNSPECIFIED",
   846              "CHARGEBACK",
   847              "CHARGEBACK_FRAUD",
   848              "CHARGEBACK_DISPUTE",
   849              "REFUND",
   850              "REFUND_FRAUD",
   851              "TRANSACTION_ACCEPTED",
   852              "TRANSACTION_DECLINED",
   853              "PAYMENT_HEURISTICS",
   854              "INITIATED_TWO_FACTOR",
   855              "PASSED_TWO_FACTOR",
   856              "FAILED_TWO_FACTOR",
   857              "CORRECT_PASSWORD",
   858              "INCORRECT_PASSWORD",
   859              "SOCIAL_SPAM"
   860            ],
   861            "enumDescriptions": [
   862              "Default unspecified reason.",
   863              "Indicates that the transaction had a chargeback issued with no other details. When possible, specify the type by using CHARGEBACK_FRAUD or CHARGEBACK_DISPUTE instead.",
   864              "Indicates that the transaction had a chargeback issued related to an alleged unauthorized transaction from the cardholder's perspective (for example, the card number was stolen).",
   865              "Indicates that the transaction had a chargeback issued related to the cardholder having provided their card details but allegedly not being satisfied with the purchase (for example, misrepresentation, attempted cancellation).",
   866              "Indicates that the completed payment transaction was refunded by the seller.",
   867              "Indicates that the completed payment transaction was determined to be fraudulent by the seller, and was cancelled and refunded as a result.",
   868              "Indicates that the payment transaction was accepted, and the user was charged.",
   869              "Indicates that the payment transaction was declined, for example due to invalid card details.",
   870              "Indicates the transaction associated with the assessment is suspected of being fraudulent based on the payment method, billing details, shipping address or other transaction information.",
   871              "Indicates that the user was served a 2FA challenge. An old assessment with `ENUM_VALUES.INITIATED_TWO_FACTOR` reason that has not been overwritten with `PASSED_TWO_FACTOR` is treated as an abandoned 2FA flow. This is equivalent to `FAILED_TWO_FACTOR`.",
   872              "Indicates that the user passed a 2FA challenge.",
   873              "Indicates that the user failed a 2FA challenge.",
   874              "Indicates the user provided the correct password.",
   875              "Indicates the user provided an incorrect password.",
   876              "Indicates that the user sent unwanted and abusive messages to other users of the platform, such as spam, scams, phishing, or social engineering."
   877            ],
   878            "type": "string"
   879          },
   880          "type": "array"
   881        },
   882        "transactionEvent": {
   883          "$ref": "GoogleCloudRecaptchaenterpriseV1TransactionEvent",
   884          "description": "Optional. If the assessment is part of a payment transaction, provide details on payment lifecycle events that occur in the transaction."
   885        }
   886      },
   887      "type": "object"
   888    },
   889    "GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse": {
   890      "description": "Empty response for AnnotateAssessment.",
   891      "id": "GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse",
   892      "properties": {},
   893      "type": "object"
   894    },
   895    "GoogleCloudRecaptchaenterpriseV1AppleDeveloperId": {
   896      "description": "Contains fields that are required to perform Apple-specific integrity checks.",
   897      "id": "GoogleCloudRecaptchaenterpriseV1AppleDeveloperId",
   898      "properties": {
   899        "keyId": {
   900          "description": "Required. The Apple developer key ID (10-character string).",
   901          "type": "string"
   902        },
   903        "privateKey": {
   904          "description": "Required. Input only. A private key (downloaded as a text file with a .p8 file extension) generated for your Apple Developer account. Ensure that Apple DeviceCheck is enabled for the private key.",
   905          "type": "string"
   906        },
   907        "teamId": {
   908          "description": "Required. The Apple team ID (10-character string) owning the provisioning profile used to build your application.",
   909          "type": "string"
   910        }
   911      },
   912      "type": "object"
   913    },
   914    "GoogleCloudRecaptchaenterpriseV1Assessment": {
   915      "description": "A reCAPTCHA Enterprise assessment resource.",
   916      "id": "GoogleCloudRecaptchaenterpriseV1Assessment",
   917      "properties": {
   918        "accountDefenderAssessment": {
   919          "$ref": "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment",
   920          "description": "Output only. Assessment returned by account defender when an account identifier is provided.",
   921          "readOnly": true
   922        },
   923        "accountVerification": {
   924          "$ref": "GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo",
   925          "description": "Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature."
   926        },
   927        "event": {
   928          "$ref": "GoogleCloudRecaptchaenterpriseV1Event",
   929          "description": "Optional. The event being assessed."
   930        },
   931        "firewallPolicyAssessment": {
   932          "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment",
   933          "description": "Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.",
   934          "readOnly": true
   935        },
   936        "fraudPreventionAssessment": {
   937          "$ref": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment",
   938          "description": "Output only. Assessment returned by Fraud Prevention when TransactionData is provided.",
   939          "readOnly": true
   940        },
   941        "fraudSignals": {
   942          "$ref": "GoogleCloudRecaptchaenterpriseV1FraudSignals",
   943          "description": "Output only. Fraud Signals specific to the users involved in a payment transaction.",
   944          "readOnly": true
   945        },
   946        "name": {
   947          "description": "Output only. Identifier. The resource name for the Assessment in the format `projects/{project}/assessments/{assessment}`.",
   948          "readOnly": true,
   949          "type": "string"
   950        },
   951        "privatePasswordLeakVerification": {
   952          "$ref": "GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification",
   953          "description": "Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials."
   954        },
   955        "riskAnalysis": {
   956          "$ref": "GoogleCloudRecaptchaenterpriseV1RiskAnalysis",
   957          "description": "Output only. The risk analysis result for the event being assessed.",
   958          "readOnly": true
   959        },
   960        "tokenProperties": {
   961          "$ref": "GoogleCloudRecaptchaenterpriseV1TokenProperties",
   962          "description": "Output only. Properties of the provided event token.",
   963          "readOnly": true
   964        }
   965      },
   966      "type": "object"
   967    },
   968    "GoogleCloudRecaptchaenterpriseV1ChallengeMetrics": {
   969      "description": "Metrics related to challenges.",
   970      "id": "GoogleCloudRecaptchaenterpriseV1ChallengeMetrics",
   971      "properties": {
   972        "failedCount": {
   973          "description": "Count of submitted challenge solutions that were incorrect or otherwise deemed suspicious such that a subsequent challenge was triggered.",
   974          "format": "int64",
   975          "type": "string"
   976        },
   977        "nocaptchaCount": {
   978          "description": "Count of nocaptchas (successful verification without a challenge) issued.",
   979          "format": "int64",
   980          "type": "string"
   981        },
   982        "pageloadCount": {
   983          "description": "Count of reCAPTCHA checkboxes or badges rendered. This is mostly equivalent to a count of pageloads for pages that include reCAPTCHA.",
   984          "format": "int64",
   985          "type": "string"
   986        },
   987        "passedCount": {
   988          "description": "Count of nocaptchas (successful verification without a challenge) plus submitted challenge solutions that were correct and resulted in verification.",
   989          "format": "int64",
   990          "type": "string"
   991        }
   992      },
   993      "type": "object"
   994    },
   995    "GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo": {
   996      "description": "Information about a verification endpoint that can be used for 2FA.",
   997      "id": "GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo",
   998      "properties": {
   999        "emailAddress": {
  1000          "description": "Email address for which to trigger a verification request.",
  1001          "type": "string"
  1002        },
  1003        "lastVerificationTime": {
  1004          "description": "Output only. Timestamp of the last successful verification for the endpoint, if any.",
  1005          "format": "google-datetime",
  1006          "readOnly": true,
  1007          "type": "string"
  1008        },
  1009        "phoneNumber": {
  1010          "description": "Phone number for which to trigger a verification request. Should be given in E.164 format.",
  1011          "type": "string"
  1012        },
  1013        "requestToken": {
  1014          "description": "Output only. Token to provide to the client to trigger endpoint verification. It must be used within 15 minutes.",
  1015          "readOnly": true,
  1016          "type": "string"
  1017        }
  1018      },
  1019      "type": "object"
  1020    },
  1021    "GoogleCloudRecaptchaenterpriseV1Event": {
  1022      "description": "The event being assessed.",
  1023      "id": "GoogleCloudRecaptchaenterpriseV1Event",
  1024      "properties": {
  1025        "expectedAction": {
  1026          "description": "Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.",
  1027          "type": "string"
  1028        },
  1029        "express": {
  1030          "description": "Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference a SCORE key with WAF feature set to EXPRESS.",
  1031          "type": "boolean"
  1032        },
  1033        "firewallPolicyEvaluation": {
  1034          "description": "Optional. Flag for enabling firewall policy config assessment. If this flag is enabled, the firewall policy will be evaluated and a suggested firewall action will be returned in the response.",
  1035          "type": "boolean"
  1036        },
  1037        "fraudPrevention": {
  1038          "description": "Optional. The Fraud Prevention setting for this assessment.",
  1039          "enum": [
  1040            "FRAUD_PREVENTION_UNSPECIFIED",
  1041            "ENABLED",
  1042            "DISABLED"
  1043          ],
  1044          "enumDescriptions": [
  1045            "Default, unspecified setting. If opted in for automatic detection, `fraud_prevention_assessment` is returned based on the request. Otherwise, `fraud_prevention_assessment` is returned if `transaction_data` is present in the `Event` and Fraud Prevention is enabled in the Google Cloud console.",
  1046            "Enable Fraud Prevention for this assessment, if Fraud Prevention is enabled in the Google Cloud console.",
  1047            "Disable Fraud Prevention for this assessment, regardless of opt-in status or Google Cloud console settings."
  1048          ],
  1049          "type": "string"
  1050        },
  1051        "hashedAccountId": {
  1052          "deprecated": true,
  1053          "description": "Optional. Deprecated: use `user_info.account_id` instead. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.",
  1054          "format": "byte",
  1055          "type": "string"
  1056        },
  1057        "headers": {
  1058          "description": "Optional. HTTP header information about the request.",
  1059          "items": {
  1060            "type": "string"
  1061          },
  1062          "type": "array"
  1063        },
  1064        "ja3": {
  1065          "description": "Optional. JA3 fingerprint for SSL clients.",
  1066          "type": "string"
  1067        },
  1068        "requestedUri": {
  1069          "description": "Optional. The URI resource the user requested that triggered an assessment.",
  1070          "type": "string"
  1071        },
  1072        "siteKey": {
  1073          "description": "Optional. The site key that was used to invoke reCAPTCHA Enterprise on your site and generate the token.",
  1074          "type": "string"
  1075        },
  1076        "token": {
  1077          "description": "Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site.",
  1078          "type": "string"
  1079        },
  1080        "transactionData": {
  1081          "$ref": "GoogleCloudRecaptchaenterpriseV1TransactionData",
  1082          "description": "Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Enterprise Fraud Prevention and the FraudPreventionAssessment component in the response."
  1083        },
  1084        "userAgent": {
  1085          "description": "Optional. The user agent present in the request from the user's device related to this event.",
  1086          "type": "string"
  1087        },
  1088        "userInfo": {
  1089          "$ref": "GoogleCloudRecaptchaenterpriseV1UserInfo",
  1090          "description": "Optional. Information about the user that generates this event, when they can be identified. They are often identified through the use of an account for logged-in requests or login/registration requests, or by providing user identifiers for guest actions like checkout."
  1091        },
  1092        "userIpAddress": {
  1093          "description": "Optional. The IP address in the request from the user's device related to this event.",
  1094          "type": "string"
  1095        },
  1096        "wafTokenAssessment": {
  1097          "description": "Optional. Flag for running WAF token assessment. If enabled, the token must be specified, and have been created by a WAF-enabled key.",
  1098          "type": "boolean"
  1099        }
  1100      },
  1101      "type": "object"
  1102    },
  1103    "GoogleCloudRecaptchaenterpriseV1FirewallAction": {
  1104      "description": "An individual action. Each action represents what to do if a policy matches.",
  1105      "id": "GoogleCloudRecaptchaenterpriseV1FirewallAction",
  1106      "properties": {
  1107        "allow": {
  1108          "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction",
  1109          "description": "The user request did not match any policy and should be allowed access to the requested resource."
  1110        },
  1111        "block": {
  1112          "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction",
  1113          "description": "This action will deny access to a given page. The user will get an HTTP error code."
  1114        },
  1115        "includeRecaptchaScript": {
  1116          "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction",
  1117          "description": "This action will inject reCAPTCHA JavaScript code into the HTML page returned by the site backend."
  1118        },
  1119        "redirect": {
  1120          "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction",
  1121          "description": "This action will redirect the request to a ReCaptcha interstitial to attach a token."
  1122        },
  1123        "setHeader": {
  1124          "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction",
  1125          "description": "This action will set a custom header but allow the request to continue to the customer backend."
  1126        },
  1127        "substitute": {
  1128          "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction",
  1129          "description": "This action will transparently serve a different page to an offending user."
  1130        }
  1131      },
  1132      "type": "object"
  1133    },
  1134    "GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction": {
  1135      "description": "An allow action continues processing a request unimpeded.",
  1136      "id": "GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction",
  1137      "properties": {},
  1138      "type": "object"
  1139    },
  1140    "GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction": {
  1141      "description": "A block action serves an HTTP error code a prevents the request from hitting the backend.",
  1142      "id": "GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction",
  1143      "properties": {},
  1144      "type": "object"
  1145    },
  1146    "GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction": {
  1147      "description": "An include reCAPTCHA script action involves injecting reCAPTCHA JavaScript code into the HTML returned by the site backend. This reCAPTCHA script is tasked with collecting user signals on the requested web page, issuing tokens as a cookie within the site domain, and enabling their utilization in subsequent page requests.",
  1148      "id": "GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction",
  1149      "properties": {},
  1150      "type": "object"
  1151    },
  1152    "GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction": {
  1153      "description": "A redirect action returns a 307 (temporary redirect) response, pointing the user to a ReCaptcha interstitial page to attach a token.",
  1154      "id": "GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction",
  1155      "properties": {},
  1156      "type": "object"
  1157    },
  1158    "GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction": {
  1159      "description": "A set header action sets a header and forwards the request to the backend. This can be used to trigger custom protection implemented on the backend.",
  1160      "id": "GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction",
  1161      "properties": {
  1162        "key": {
  1163          "description": "Optional. The header key to set in the request to the backend server.",
  1164          "type": "string"
  1165        },
  1166        "value": {
  1167          "description": "Optional. The header value to set in the request to the backend server.",
  1168          "type": "string"
  1169        }
  1170      },
  1171      "type": "object"
  1172    },
  1173    "GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction": {
  1174      "description": "A substitute action transparently serves a different page than the one requested.",
  1175      "id": "GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction",
  1176      "properties": {
  1177        "path": {
  1178          "description": "Optional. The address to redirect to. The target is a relative path in the current host. Example: \"/blog/404.html\".",
  1179          "type": "string"
  1180        }
  1181      },
  1182      "type": "object"
  1183    },
  1184    "GoogleCloudRecaptchaenterpriseV1FirewallPolicy": {
  1185      "description": "A FirewallPolicy represents a single matching pattern and resulting actions to take.",
  1186      "id": "GoogleCloudRecaptchaenterpriseV1FirewallPolicy",
  1187      "properties": {
  1188        "actions": {
  1189          "description": "Optional. The actions that the caller should take regarding user access. There should be at most one terminal action. A terminal action is any action that forces a response, such as `AllowAction`, `BlockAction` or `SubstituteAction`. Zero or more non-terminal actions such as `SetHeader` might be specified. A single policy can contain up to 16 actions.",
  1190          "items": {
  1191            "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallAction"
  1192          },
  1193          "type": "array"
  1194        },
  1195        "condition": {
  1196          "description": "Optional. A CEL (Common Expression Language) conditional expression that specifies if this policy applies to an incoming user request. If this condition evaluates to true and the requested path matched the path pattern, the associated actions should be executed by the caller. The condition string is checked for CEL syntax correctness on creation. For more information, see the [CEL spec](https://github.com/google/cel-spec) and its [language definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md). A condition has a max length of 500 characters.",
  1197          "type": "string"
  1198        },
  1199        "description": {
  1200          "description": "Optional. A description of what this policy aims to achieve, for convenience purposes. The description can at most include 256 UTF-8 characters.",
  1201          "type": "string"
  1202        },
  1203        "name": {
  1204          "description": "Identifier. The resource name for the FirewallPolicy in the format `projects/{project}/firewallpolicies/{firewallpolicy}`.",
  1205          "type": "string"
  1206        },
  1207        "path": {
  1208          "description": "Optional. The path for which this policy applies, specified as a glob pattern. For more information on glob, see the [manual page](https://man7.org/linux/man-pages/man7/glob.7.html). A path has a max length of 200 characters.",
  1209          "type": "string"
  1210        }
  1211      },
  1212      "type": "object"
  1213    },
  1214    "GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment": {
  1215      "description": "Policy config assessment.",
  1216      "id": "GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment",
  1217      "properties": {
  1218        "error": {
  1219          "$ref": "GoogleRpcStatus",
  1220          "description": "Output only. If the processing of a policy config fails, an error will be populated and the firewall_policy will be left empty.",
  1221          "readOnly": true
  1222        },
  1223        "firewallPolicy": {
  1224          "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallPolicy",
  1225          "description": "Output only. The policy that matched the request. If more than one policy may match, this is the first match. If no policy matches the incoming request, the policy field will be left empty.",
  1226          "readOnly": true
  1227        }
  1228      },
  1229      "type": "object"
  1230    },
  1231    "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment": {
  1232      "description": "Assessment for Fraud Prevention.",
  1233      "id": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment",
  1234      "properties": {
  1235        "behavioralTrustVerdict": {
  1236          "$ref": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict",
  1237          "description": "Output only. Assessment of this transaction for behavioral trust.",
  1238          "readOnly": true
  1239        },
  1240        "cardTestingVerdict": {
  1241          "$ref": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict",
  1242          "description": "Output only. Assessment of this transaction for risk of being part of a card testing attack.",
  1243          "readOnly": true
  1244        },
  1245        "stolenInstrumentVerdict": {
  1246          "$ref": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict",
  1247          "description": "Output only. Assessment of this transaction for risk of a stolen instrument.",
  1248          "readOnly": true
  1249        },
  1250        "transactionRisk": {
  1251          "description": "Output only. Probability of this transaction being fraudulent. Summarizes the combined risk of attack vectors below. Values are from 0.0 (lowest) to 1.0 (highest).",
  1252          "format": "float",
  1253          "readOnly": true,
  1254          "type": "number"
  1255        }
  1256      },
  1257      "type": "object"
  1258    },
  1259    "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict": {
  1260      "description": "Information about behavioral trust of the transaction.",
  1261      "id": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict",
  1262      "properties": {
  1263        "trust": {
  1264          "description": "Output only. Probability of this transaction attempt being executed in a behaviorally trustworthy way. Values are from 0.0 (lowest) to 1.0 (highest).",
  1265          "format": "float",
  1266          "readOnly": true,
  1267          "type": "number"
  1268        }
  1269      },
  1270      "type": "object"
  1271    },
  1272    "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict": {
  1273      "description": "Information about card testing fraud, where an adversary is testing fraudulently obtained cards or brute forcing their details.",
  1274      "id": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict",
  1275      "properties": {
  1276        "risk": {
  1277          "description": "Output only. Probability of this transaction attempt being part of a card testing attack. Values are from 0.0 (lowest) to 1.0 (highest).",
  1278          "format": "float",
  1279          "readOnly": true,
  1280          "type": "number"
  1281        }
  1282      },
  1283      "type": "object"
  1284    },
  1285    "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict": {
  1286      "description": "Information about stolen instrument fraud, where the user is not the legitimate owner of the instrument being used for the purchase.",
  1287      "id": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict",
  1288      "properties": {
  1289        "risk": {
  1290          "description": "Output only. Probability of this transaction being executed with a stolen instrument. Values are from 0.0 (lowest) to 1.0 (highest).",
  1291          "format": "float",
  1292          "readOnly": true,
  1293          "type": "number"
  1294        }
  1295      },
  1296      "type": "object"
  1297    },
  1298    "GoogleCloudRecaptchaenterpriseV1FraudSignals": {
  1299      "description": "Fraud signals describing users and cards involved in the transaction.",
  1300      "id": "GoogleCloudRecaptchaenterpriseV1FraudSignals",
  1301      "properties": {
  1302        "cardSignals": {
  1303          "$ref": "GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals",
  1304          "description": "Output only. Signals describing the payment card or cards used in this transaction.",
  1305          "readOnly": true
  1306        },
  1307        "userSignals": {
  1308          "$ref": "GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals",
  1309          "description": "Output only. Signals describing the end user in this transaction.",
  1310          "readOnly": true
  1311        }
  1312      },
  1313      "type": "object"
  1314    },
  1315    "GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals": {
  1316      "description": "Signals describing the payment card used in this transaction.",
  1317      "id": "GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals",
  1318      "properties": {
  1319        "cardLabels": {
  1320          "description": "Output only. The labels for the payment card in this transaction.",
  1321          "items": {
  1322            "enum": [
  1323              "CARD_LABEL_UNSPECIFIED",
  1324              "PREPAID",
  1325              "VIRTUAL",
  1326              "UNEXPECTED_LOCATION"
  1327            ],
  1328            "enumDescriptions": [
  1329              "No label specified.",
  1330              "This card has been detected as prepaid.",
  1331              "This card has been detected as virtual, such as a card number generated for a single transaction or merchant.",
  1332              "This card has been detected as being used in an unexpected geographic location."
  1333            ],
  1334            "type": "string"
  1335          },
  1336          "readOnly": true,
  1337          "type": "array"
  1338        }
  1339      },
  1340      "type": "object"
  1341    },
  1342    "GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals": {
  1343      "description": "Signals describing the user involved in this transaction.",
  1344      "id": "GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals",
  1345      "properties": {
  1346        "activeDaysLowerBound": {
  1347          "description": "Output only. This user (based on email, phone, and other identifiers) has been seen on the internet for at least this number of days.",
  1348          "format": "int32",
  1349          "readOnly": true,
  1350          "type": "integer"
  1351        },
  1352        "syntheticRisk": {
  1353          "description": "Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic components in their identity, such as a randomly generated email address, temporary phone number, or fake shipping address.",
  1354          "format": "float",
  1355          "readOnly": true,
  1356          "type": "number"
  1357        }
  1358      },
  1359      "type": "object"
  1360    },
  1361    "GoogleCloudRecaptchaenterpriseV1IOSKeySettings": {
  1362      "description": "Settings specific to keys that can be used by iOS apps.",
  1363      "id": "GoogleCloudRecaptchaenterpriseV1IOSKeySettings",
  1364      "properties": {
  1365        "allowAllBundleIds": {
  1366          "description": "Optional. If set to true, allowed_bundle_ids are not enforced.",
  1367          "type": "boolean"
  1368        },
  1369        "allowedBundleIds": {
  1370          "description": "Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'",
  1371          "items": {
  1372            "type": "string"
  1373          },
  1374          "type": "array"
  1375        },
  1376        "appleDeveloperId": {
  1377          "$ref": "GoogleCloudRecaptchaenterpriseV1AppleDeveloperId",
  1378          "description": "Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA Enterprise to get a better assessment of the integrity of your app."
  1379        }
  1380      },
  1381      "type": "object"
  1382    },
  1383    "GoogleCloudRecaptchaenterpriseV1Key": {
  1384      "description": "A key used to identify and configure applications (web and/or mobile) that use reCAPTCHA Enterprise.",
  1385      "id": "GoogleCloudRecaptchaenterpriseV1Key",
  1386      "properties": {
  1387        "androidSettings": {
  1388          "$ref": "GoogleCloudRecaptchaenterpriseV1AndroidKeySettings",
  1389          "description": "Settings for keys that can be used by Android apps."
  1390        },
  1391        "createTime": {
  1392          "description": "Output only. The timestamp corresponding to the creation of this key.",
  1393          "format": "google-datetime",
  1394          "readOnly": true,
  1395          "type": "string"
  1396        },
  1397        "displayName": {
  1398          "description": "Required. Human-readable display name of this key. Modifiable by user.",
  1399          "type": "string"
  1400        },
  1401        "iosSettings": {
  1402          "$ref": "GoogleCloudRecaptchaenterpriseV1IOSKeySettings",
  1403          "description": "Settings for keys that can be used by iOS apps."
  1404        },
  1405        "labels": {
  1406          "additionalProperties": {
  1407            "type": "string"
  1408          },
  1409          "description": "Optional. See [Creating and managing labels] (https://cloud.google.com/recaptcha-enterprise/docs/labels).",
  1410          "type": "object"
  1411        },
  1412        "name": {
  1413          "description": "Identifier. The resource name for the Key in the format `projects/{project}/keys/{key}`.",
  1414          "type": "string"
  1415        },
  1416        "testingOptions": {
  1417          "$ref": "GoogleCloudRecaptchaenterpriseV1TestingOptions",
  1418          "description": "Optional. Options for user acceptance testing."
  1419        },
  1420        "wafSettings": {
  1421          "$ref": "GoogleCloudRecaptchaenterpriseV1WafSettings",
  1422          "description": "Optional. Settings for WAF"
  1423        },
  1424        "webSettings": {
  1425          "$ref": "GoogleCloudRecaptchaenterpriseV1WebKeySettings",
  1426          "description": "Settings for keys that can be used by websites."
  1427        }
  1428      },
  1429      "type": "object"
  1430    },
  1431    "GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse": {
  1432      "description": "Response to request to list firewall policies belonging to a project.",
  1433      "id": "GoogleCloudRecaptchaenterpriseV1ListFirewallPoliciesResponse",
  1434      "properties": {
  1435        "firewallPolicies": {
  1436          "description": "Policy details.",
  1437          "items": {
  1438            "$ref": "GoogleCloudRecaptchaenterpriseV1FirewallPolicy"
  1439          },
  1440          "type": "array"
  1441        },
  1442        "nextPageToken": {
  1443          "description": "Token to retrieve the next page of results. It is set to empty if no policies remain in results.",
  1444          "type": "string"
  1445        }
  1446      },
  1447      "type": "object"
  1448    },
  1449    "GoogleCloudRecaptchaenterpriseV1ListKeysResponse": {
  1450      "description": "Response to request to list keys in a project.",
  1451      "id": "GoogleCloudRecaptchaenterpriseV1ListKeysResponse",
  1452      "properties": {
  1453        "keys": {
  1454          "description": "Key details.",
  1455          "items": {
  1456            "$ref": "GoogleCloudRecaptchaenterpriseV1Key"
  1457          },
  1458          "type": "array"
  1459        },
  1460        "nextPageToken": {
  1461          "description": "Token to retrieve the next page of results. It is set to empty if no keys remain in results.",
  1462          "type": "string"
  1463        }
  1464      },
  1465      "type": "object"
  1466    },
  1467    "GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse": {
  1468      "description": "The response to a `ListRelatedAccountGroupMemberships` call.",
  1469      "id": "GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse",
  1470      "properties": {
  1471        "nextPageToken": {
  1472          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
  1473          "type": "string"
  1474        },
  1475        "relatedAccountGroupMemberships": {
  1476          "description": "The memberships listed by the query.",
  1477          "items": {
  1478            "$ref": "GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership"
  1479          },
  1480          "type": "array"
  1481        }
  1482      },
  1483      "type": "object"
  1484    },
  1485    "GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse": {
  1486      "description": "The response to a `ListRelatedAccountGroups` call.",
  1487      "id": "GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse",
  1488      "properties": {
  1489        "nextPageToken": {
  1490          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
  1491          "type": "string"
  1492        },
  1493        "relatedAccountGroups": {
  1494          "description": "The groups of related accounts listed by the query.",
  1495          "items": {
  1496            "$ref": "GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup"
  1497          },
  1498          "type": "array"
  1499        }
  1500      },
  1501      "type": "object"
  1502    },
  1503    "GoogleCloudRecaptchaenterpriseV1Metrics": {
  1504      "description": "Metrics for a single Key.",
  1505      "id": "GoogleCloudRecaptchaenterpriseV1Metrics",
  1506      "properties": {
  1507        "challengeMetrics": {
  1508          "description": "Metrics will be continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have challenge-based data.",
  1509          "items": {
  1510            "$ref": "GoogleCloudRecaptchaenterpriseV1ChallengeMetrics"
  1511          },
  1512          "type": "array"
  1513        },
  1514        "name": {
  1515          "description": "Output only. Identifier. The name of the metrics, in the format `projects/{project}/keys/{key}/metrics`.",
  1516          "readOnly": true,
  1517          "type": "string"
  1518        },
  1519        "scoreMetrics": {
  1520          "description": "Metrics will be continuous and in order by dates, and in the granularity of day. All Key types should have score-based data.",
  1521          "items": {
  1522            "$ref": "GoogleCloudRecaptchaenterpriseV1ScoreMetrics"
  1523          },
  1524          "type": "array"
  1525        },
  1526        "startTime": {
  1527          "description": "Inclusive start time aligned to a day (UTC).",
  1528          "format": "google-datetime",
  1529          "type": "string"
  1530        }
  1531      },
  1532      "type": "object"
  1533    },
  1534    "GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest": {
  1535      "description": "The migrate key request message.",
  1536      "id": "GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest",
  1537      "properties": {
  1538        "skipBillingCheck": {
  1539          "description": "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.",
  1540          "type": "boolean"
  1541        }
  1542      },
  1543      "type": "object"
  1544    },
  1545    "GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification": {
  1546      "description": "Private password leak verification info.",
  1547      "id": "GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification",
  1548      "properties": {
  1549        "encryptedLeakMatchPrefixes": {
  1550          "description": "Output only. List of prefixes of the encrypted potential password leaks that matched the given parameters. They must be compared with the client-side decryption prefix of `reencrypted_user_credentials_hash`",
  1551          "items": {
  1552            "format": "byte",
  1553            "type": "string"
  1554          },
  1555          "readOnly": true,
  1556          "type": "array"
  1557        },
  1558        "encryptedUserCredentialsHash": {
  1559          "description": "Optional. Encrypted Scrypt hash of the canonicalized username+password. It is re-encrypted by the server and returned through `reencrypted_user_credentials_hash`.",
  1560          "format": "byte",
  1561          "type": "string"
  1562        },
  1563        "lookupHashPrefix": {
  1564          "description": "Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized username. It is used to look up password leaks associated with that hash prefix.",
  1565          "format": "byte",
  1566          "type": "string"
  1567        },
  1568        "reencryptedUserCredentialsHash": {
  1569          "description": "Output only. Corresponds to the re-encryption of the `encrypted_user_credentials_hash` field. It is used to match potential password leaks within `encrypted_leak_match_prefixes`.",
  1570          "format": "byte",
  1571          "readOnly": true,
  1572          "type": "string"
  1573        }
  1574      },
  1575      "type": "object"
  1576    },
  1577    "GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup": {
  1578      "description": "A group of related accounts.",
  1579      "id": "GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup",
  1580      "properties": {
  1581        "name": {
  1582          "description": "Required. Identifier. The resource name for the related account group in the format `projects/{project}/relatedaccountgroups/{related_account_group}`.",
  1583          "type": "string"
  1584        }
  1585      },
  1586      "type": "object"
  1587    },
  1588    "GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership": {
  1589      "description": "A membership in a group of related accounts.",
  1590      "id": "GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership",
  1591      "properties": {
  1592        "accountId": {
  1593          "description": "The unique stable account identifier of the member. The identifier corresponds to an `account_id` provided in a previous `CreateAssessment` or `AnnotateAssessment` call.",
  1594          "type": "string"
  1595        },
  1596        "hashedAccountId": {
  1597          "deprecated": true,
  1598          "description": "Deprecated: use `account_id` instead. The unique stable hashed account identifier of the member. The identifier corresponds to a `hashed_account_id` provided in a previous `CreateAssessment` or `AnnotateAssessment` call.",
  1599          "format": "byte",
  1600          "type": "string"
  1601        },
  1602        "name": {
  1603          "description": "Required. Identifier. The resource name for this membership in the format `projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}`.",
  1604          "type": "string"
  1605        }
  1606      },
  1607      "type": "object"
  1608    },
  1609    "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest": {
  1610      "description": "The reorder firewall policies request message.",
  1611      "id": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest",
  1612      "properties": {
  1613        "names": {
  1614          "description": "Required. A list containing all policy names, in the new order. Each name is in the format `projects/{project}/firewallpolicies/{firewallpolicy}`.",
  1615          "items": {
  1616            "type": "string"
  1617          },
  1618          "type": "array"
  1619        }
  1620      },
  1621      "type": "object"
  1622    },
  1623    "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse": {
  1624      "description": "The reorder firewall policies response message.",
  1625      "id": "GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse",
  1626      "properties": {},
  1627      "type": "object"
  1628    },
  1629    "GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse": {
  1630      "description": "Secret key is used only in legacy reCAPTCHA. It must be used in a 3rd party integration with legacy reCAPTCHA.",
  1631      "id": "GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse",
  1632      "properties": {
  1633        "legacySecretKey": {
  1634          "description": "The secret key (also known as shared secret) authorizes communication between your application backend and the reCAPTCHA Enterprise server to create an assessment. The secret key needs to be kept safe for security purposes.",
  1635          "type": "string"
  1636        }
  1637      },
  1638      "type": "object"
  1639    },
  1640    "GoogleCloudRecaptchaenterpriseV1RiskAnalysis": {
  1641      "description": "Risk analysis result for an event.",
  1642      "id": "GoogleCloudRecaptchaenterpriseV1RiskAnalysis",
  1643      "properties": {
  1644        "extendedVerdictReasons": {
  1645          "description": "Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.",
  1646          "items": {
  1647            "type": "string"
  1648          },
  1649          "readOnly": true,
  1650          "type": "array"
  1651        },
  1652        "reasons": {
  1653          "description": "Output only. Reasons contributing to the risk analysis verdict.",
  1654          "items": {
  1655            "enum": [
  1656              "CLASSIFICATION_REASON_UNSPECIFIED",
  1657              "AUTOMATION",
  1658              "UNEXPECTED_ENVIRONMENT",
  1659              "TOO_MUCH_TRAFFIC",
  1660              "UNEXPECTED_USAGE_PATTERNS",
  1661              "LOW_CONFIDENCE_SCORE",
  1662              "SUSPECTED_CARDING",
  1663              "SUSPECTED_CHARGEBACK"
  1664            ],
  1665            "enumDescriptions": [
  1666              "Default unspecified type.",
  1667              "Interactions matched the behavior of an automated agent.",
  1668              "The event originated from an illegitimate environment.",
  1669              "Traffic volume from the event source is higher than normal.",
  1670              "Interactions with the site were significantly different than expected patterns.",
  1671              "Too little traffic has been received from this site thus far to generate quality risk analysis.",
  1672              "The request matches behavioral characteristics of a carding attack.",
  1673              "The request matches behavioral characteristics of chargebacks for fraud."
  1674            ],
  1675            "type": "string"
  1676          },
  1677          "readOnly": true,
  1678          "type": "array"
  1679        },
  1680        "score": {
  1681          "description": "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).",
  1682          "format": "float",
  1683          "readOnly": true,
  1684          "type": "number"
  1685        }
  1686      },
  1687      "type": "object"
  1688    },
  1689    "GoogleCloudRecaptchaenterpriseV1ScoreDistribution": {
  1690      "description": "Score distribution.",
  1691      "id": "GoogleCloudRecaptchaenterpriseV1ScoreDistribution",
  1692      "properties": {
  1693        "scoreBuckets": {
  1694          "additionalProperties": {
  1695            "format": "int64",
  1696            "type": "string"
  1697          },
  1698          "description": "Map key is score value multiplied by 100. The scores are discrete values between [0, 1]. The maximum number of buckets is on order of a few dozen, but typically much lower (ie. 10).",
  1699          "type": "object"
  1700        }
  1701      },
  1702      "type": "object"
  1703    },
  1704    "GoogleCloudRecaptchaenterpriseV1ScoreMetrics": {
  1705      "description": "Metrics related to scoring.",
  1706      "id": "GoogleCloudRecaptchaenterpriseV1ScoreMetrics",
  1707      "properties": {
  1708        "actionMetrics": {
  1709          "additionalProperties": {
  1710            "$ref": "GoogleCloudRecaptchaenterpriseV1ScoreDistribution"
  1711          },
  1712          "description": "Action-based metrics. The map key is the action name which specified by the site owners at time of the \"execute\" client-side call.",
  1713          "type": "object"
  1714        },
  1715        "overallMetrics": {
  1716          "$ref": "GoogleCloudRecaptchaenterpriseV1ScoreDistribution",
  1717          "description": "Aggregated score metrics for all traffic."
  1718        }
  1719      },
  1720      "type": "object"
  1721    },
  1722    "GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest": {
  1723      "description": "The request message to search related account group memberships.",
  1724      "id": "GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest",
  1725      "properties": {
  1726        "accountId": {
  1727          "description": "Optional. The unique stable account identifier used to search connections. The identifier should correspond to an `account_id` provided in a previous `CreateAssessment` or `AnnotateAssessment` call. Either hashed_account_id or account_id must be set, but not both.",
  1728          "type": "string"
  1729        },
  1730        "hashedAccountId": {
  1731          "deprecated": true,
  1732          "description": "Optional. Deprecated: use `account_id` instead. The unique stable hashed account identifier used to search connections. The identifier should correspond to a `hashed_account_id` provided in a previous `CreateAssessment` or `AnnotateAssessment` call. Either hashed_account_id or account_id must be set, but not both.",
  1733          "format": "byte",
  1734          "type": "string"
  1735        },
  1736        "pageSize": {
  1737          "description": "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.",
  1738          "format": "int32",
  1739          "type": "integer"
  1740        },
  1741        "pageToken": {
  1742          "description": "Optional. A page token, received from a previous `SearchRelatedAccountGroupMemberships` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchRelatedAccountGroupMemberships` must match the call that provided the page token.",
  1743          "type": "string"
  1744        }
  1745      },
  1746      "type": "object"
  1747    },
  1748    "GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse": {
  1749      "description": "The response to a `SearchRelatedAccountGroupMemberships` call.",
  1750      "id": "GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse",
  1751      "properties": {
  1752        "nextPageToken": {
  1753          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
  1754          "type": "string"
  1755        },
  1756        "relatedAccountGroupMemberships": {
  1757          "description": "The queried memberships.",
  1758          "items": {
  1759            "$ref": "GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership"
  1760          },
  1761          "type": "array"
  1762        }
  1763      },
  1764      "type": "object"
  1765    },
  1766    "GoogleCloudRecaptchaenterpriseV1TestingOptions": {
  1767      "description": "Options for user acceptance testing.",
  1768      "id": "GoogleCloudRecaptchaenterpriseV1TestingOptions",
  1769      "properties": {
  1770        "testingChallenge": {
  1771          "description": "Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.",
  1772          "enum": [
  1773            "TESTING_CHALLENGE_UNSPECIFIED",
  1774            "NOCAPTCHA",
  1775            "UNSOLVABLE_CHALLENGE"
  1776          ],
  1777          "enumDescriptions": [
  1778            "Perform the normal risk analysis and return either nocaptcha or a challenge depending on risk and trust factors.",
  1779            "Challenge requests for this key always return a nocaptcha, which does not require a solution.",
  1780            "Challenge requests for this key always return an unsolvable challenge."
  1781          ],
  1782          "type": "string"
  1783        },
  1784        "testingScore": {
  1785          "description": "Optional. All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.",
  1786          "format": "float",
  1787          "type": "number"
  1788        }
  1789      },
  1790      "type": "object"
  1791    },
  1792    "GoogleCloudRecaptchaenterpriseV1TokenProperties": {
  1793      "description": "Properties of the provided event token.",
  1794      "id": "GoogleCloudRecaptchaenterpriseV1TokenProperties",
  1795      "properties": {
  1796        "action": {
  1797          "description": "Output only. Action name provided at token generation.",
  1798          "readOnly": true,
  1799          "type": "string"
  1800        },
  1801        "androidPackageName": {
  1802          "description": "Output only. The name of the Android package with which the token was generated (Android keys only).",
  1803          "readOnly": true,
  1804          "type": "string"
  1805        },
  1806        "createTime": {
  1807          "description": "Output only. The timestamp corresponding to the generation of the token.",
  1808          "format": "google-datetime",
  1809          "readOnly": true,
  1810          "type": "string"
  1811        },
  1812        "hostname": {
  1813          "description": "Output only. The hostname of the page on which the token was generated (Web keys only).",
  1814          "readOnly": true,
  1815          "type": "string"
  1816        },
  1817        "invalidReason": {
  1818          "description": "Output only. Reason associated with the response when valid = false.",
  1819          "enum": [
  1820            "INVALID_REASON_UNSPECIFIED",
  1821            "UNKNOWN_INVALID_REASON",
  1822            "MALFORMED",
  1823            "EXPIRED",
  1824            "DUPE",
  1825            "MISSING",
  1826            "BROWSER_ERROR"
  1827          ],
  1828          "enumDescriptions": [
  1829            "Default unspecified type.",
  1830            "If the failure reason was not accounted for.",
  1831            "The provided user verification token was malformed.",
  1832            "The user verification token had expired.",
  1833            "The user verification had already been seen.",
  1834            "The user verification token was not present.",
  1835            "A retriable error (such as network failure) occurred on the browser. Could easily be simulated by an attacker."
  1836          ],
  1837          "readOnly": true,
  1838          "type": "string"
  1839        },
  1840        "iosBundleId": {
  1841          "description": "Output only. The ID of the iOS bundle with which the token was generated (iOS keys only).",
  1842          "readOnly": true,
  1843          "type": "string"
  1844        },
  1845        "valid": {
  1846          "description": "Output only. Whether the provided user response token is valid. When valid = false, the reason could be specified in invalid_reason or it could also be due to a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey used to generate the token was different than the one specified in the assessment).",
  1847          "readOnly": true,
  1848          "type": "boolean"
  1849        }
  1850      },
  1851      "type": "object"
  1852    },
  1853    "GoogleCloudRecaptchaenterpriseV1TransactionData": {
  1854      "description": "Transaction data associated with a payment protected by reCAPTCHA Enterprise.",
  1855      "id": "GoogleCloudRecaptchaenterpriseV1TransactionData",
  1856      "properties": {
  1857        "billingAddress": {
  1858          "$ref": "GoogleCloudRecaptchaenterpriseV1TransactionDataAddress",
  1859          "description": "Optional. Address associated with the payment method when applicable."
  1860        },
  1861        "cardBin": {
  1862          "description": "Optional. The Bank Identification Number - generally the first 6 or 8 digits of the card.",
  1863          "type": "string"
  1864        },
  1865        "cardLastFour": {
  1866          "description": "Optional. The last four digits of the card.",
  1867          "type": "string"
  1868        },
  1869        "currencyCode": {
  1870          "description": "Optional. The currency code in ISO-4217 format.",
  1871          "type": "string"
  1872        },
  1873        "gatewayInfo": {
  1874          "$ref": "GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo",
  1875          "description": "Optional. Information about the payment gateway's response to the transaction."
  1876        },
  1877        "items": {
  1878          "description": "Optional. Items purchased in this transaction.",
  1879          "items": {
  1880            "$ref": "GoogleCloudRecaptchaenterpriseV1TransactionDataItem"
  1881          },
  1882          "type": "array"
  1883        },
  1884        "merchants": {
  1885          "description": "Optional. Information about the user or users fulfilling the transaction.",
  1886          "items": {
  1887            "$ref": "GoogleCloudRecaptchaenterpriseV1TransactionDataUser"
  1888          },
  1889          "type": "array"
  1890        },
  1891        "paymentMethod": {
  1892          "description": "Optional. The payment method for the transaction. The allowed values are: * credit-card * debit-card * gift-card * processor-{name} (If a third-party is used, for example, processor-paypal) * custom-{name} (If an alternative method is used, for example, custom-crypto)",
  1893          "type": "string"
  1894        },
  1895        "shippingAddress": {
  1896          "$ref": "GoogleCloudRecaptchaenterpriseV1TransactionDataAddress",
  1897          "description": "Optional. Destination address if this transaction involves shipping a physical item."
  1898        },
  1899        "shippingValue": {
  1900          "description": "Optional. The value of shipping in the specified currency. 0 for free or no shipping.",
  1901          "format": "double",
  1902          "type": "number"
  1903        },
  1904        "transactionId": {
  1905          "description": "Unique identifier for the transaction. This custom identifier can be used to reference this transaction in the future, for example, labeling a refund or chargeback event. Two attempts at the same transaction should use the same transaction id.",
  1906          "type": "string"
  1907        },
  1908        "user": {
  1909          "$ref": "GoogleCloudRecaptchaenterpriseV1TransactionDataUser",
  1910          "description": "Optional. Information about the user paying/initiating the transaction."
  1911        },
  1912        "value": {
  1913          "description": "Optional. The decimal value of the transaction in the specified currency.",
  1914          "format": "double",
  1915          "type": "number"
  1916        }
  1917      },
  1918      "type": "object"
  1919    },
  1920    "GoogleCloudRecaptchaenterpriseV1TransactionDataAddress": {
  1921      "description": "Structured address format for billing and shipping addresses.",
  1922      "id": "GoogleCloudRecaptchaenterpriseV1TransactionDataAddress",
  1923      "properties": {
  1924        "address": {
  1925          "description": "Optional. The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.",
  1926          "items": {
  1927            "type": "string"
  1928          },
  1929          "type": "array"
  1930        },
  1931        "administrativeArea": {
  1932          "description": "Optional. The state, province, or otherwise administrative area of the address.",
  1933          "type": "string"
  1934        },
  1935        "locality": {
  1936          "description": "Optional. The town/city of the address.",
  1937          "type": "string"
  1938        },
  1939        "postalCode": {
  1940          "description": "Optional. The postal or ZIP code of the address.",
  1941          "type": "string"
  1942        },
  1943        "recipient": {
  1944          "description": "Optional. The recipient name, potentially including information such as \"care of\".",
  1945          "type": "string"
  1946        },
  1947        "regionCode": {
  1948          "description": "Optional. The CLDR country/region of the address.",
  1949          "type": "string"
  1950        }
  1951      },
  1952      "type": "object"
  1953    },
  1954    "GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo": {
  1955      "description": "Details about the transaction from the gateway.",
  1956      "id": "GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo",
  1957      "properties": {
  1958        "avsResponseCode": {
  1959          "description": "Optional. AVS response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).",
  1960          "type": "string"
  1961        },
  1962        "cvvResponseCode": {
  1963          "description": "Optional. CVV response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).",
  1964          "type": "string"
  1965        },
  1966        "gatewayResponseCode": {
  1967          "description": "Optional. Gateway response code describing the state of the transaction.",
  1968          "type": "string"
  1969        },
  1970        "name": {
  1971          "description": "Optional. Name of the gateway service (for example, stripe, square, paypal).",
  1972          "type": "string"
  1973        }
  1974      },
  1975      "type": "object"
  1976    },
  1977    "GoogleCloudRecaptchaenterpriseV1TransactionDataItem": {
  1978      "description": "Line items being purchased in this transaction.",
  1979      "id": "GoogleCloudRecaptchaenterpriseV1TransactionDataItem",
  1980      "properties": {
  1981        "merchantAccountId": {
  1982          "description": "Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.",
  1983          "type": "string"
  1984        },
  1985        "name": {
  1986          "description": "Optional. The full name of the item.",
  1987          "type": "string"
  1988        },
  1989        "quantity": {
  1990          "description": "Optional. The quantity of this item that is being purchased.",
  1991          "format": "int64",
  1992          "type": "string"
  1993        },
  1994        "value": {
  1995          "description": "Optional. The value per item that the user is paying, in the transaction currency, after discounts.",
  1996          "format": "double",
  1997          "type": "number"
  1998        }
  1999      },
  2000      "type": "object"
  2001    },
  2002    "GoogleCloudRecaptchaenterpriseV1TransactionDataUser": {
  2003      "description": "Details about a user's account involved in the transaction.",
  2004      "id": "GoogleCloudRecaptchaenterpriseV1TransactionDataUser",
  2005      "properties": {
  2006        "accountId": {
  2007          "description": "Optional. Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.",
  2008          "type": "string"
  2009        },
  2010        "creationMs": {
  2011          "description": "Optional. The epoch milliseconds of the user's account creation.",
  2012          "format": "int64",
  2013          "type": "string"
  2014        },
  2015        "email": {
  2016          "description": "Optional. The email address of the user.",
  2017          "type": "string"
  2018        },
  2019        "emailVerified": {
  2020          "description": "Optional. Whether the email has been verified to be accessible by the user (OTP or similar).",
  2021          "type": "boolean"
  2022        },
  2023        "phoneNumber": {
  2024          "description": "Optional. The phone number of the user, with country code.",
  2025          "type": "string"
  2026        },
  2027        "phoneVerified": {
  2028          "description": "Optional. Whether the phone number has been verified to be accessible by the user (OTP or similar).",
  2029          "type": "boolean"
  2030        }
  2031      },
  2032      "type": "object"
  2033    },
  2034    "GoogleCloudRecaptchaenterpriseV1TransactionEvent": {
  2035      "description": "Describes an event in the lifecycle of a payment transaction.",
  2036      "id": "GoogleCloudRecaptchaenterpriseV1TransactionEvent",
  2037      "properties": {
  2038        "eventTime": {
  2039          "description": "Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.",
  2040          "format": "google-datetime",
  2041          "type": "string"
  2042        },
  2043        "eventType": {
  2044          "description": "Optional. The type of this transaction event.",
  2045          "enum": [
  2046            "TRANSACTION_EVENT_TYPE_UNSPECIFIED",
  2047            "MERCHANT_APPROVE",
  2048            "MERCHANT_DENY",
  2049            "MANUAL_REVIEW",
  2050            "AUTHORIZATION",
  2051            "AUTHORIZATION_DECLINE",
  2052            "PAYMENT_CAPTURE",
  2053            "PAYMENT_CAPTURE_DECLINE",
  2054            "CANCEL",
  2055            "CHARGEBACK_INQUIRY",
  2056            "CHARGEBACK_ALERT",
  2057            "FRAUD_NOTIFICATION",
  2058            "CHARGEBACK",
  2059            "CHARGEBACK_REPRESENTMENT",
  2060            "CHARGEBACK_REVERSE",
  2061            "REFUND_REQUEST",
  2062            "REFUND_DECLINE",
  2063            "REFUND",
  2064            "REFUND_REVERSE"
  2065          ],
  2066          "enumDescriptions": [
  2067            "Default, unspecified event type.",
  2068            "Indicates that the transaction is approved by the merchant. The accompanying reasons can include terms such as 'INHOUSE', 'ACCERTIFY', 'CYBERSOURCE', or 'MANUAL_REVIEW'.",
  2069            "Indicates that the transaction is denied and concluded due to risks detected by the merchant. The accompanying reasons can include terms such as 'INHOUSE', 'ACCERTIFY', 'CYBERSOURCE', or 'MANUAL_REVIEW'.",
  2070            "Indicates that the transaction is being evaluated by a human, due to suspicion or risk.",
  2071            "Indicates that the authorization attempt with the card issuer succeeded.",
  2072            "Indicates that the authorization attempt with the card issuer failed. The accompanying reasons can include Visa's '54' indicating that the card is expired, or '82' indicating that the CVV is incorrect.",
  2073            "Indicates that the transaction is completed because the funds were settled.",
  2074            "Indicates that the transaction could not be completed because the funds were not settled.",
  2075            "Indicates that the transaction has been canceled. Specify the reason for the cancellation. For example, 'INSUFFICIENT_INVENTORY'.",
  2076            "Indicates that the merchant has received a chargeback inquiry due to fraud for the transaction, requesting additional information before a fraud chargeback is officially issued and a formal chargeback notification is sent.",
  2077            "Indicates that the merchant has received a chargeback alert due to fraud for the transaction. The process of resolving the dispute without involving the payment network is started.",
  2078            "Indicates that a fraud notification is issued for the transaction, sent by the payment instrument's issuing bank because the transaction appears to be fraudulent. We recommend including TC40 or SAFE data in the `reason` field for this event type. For partial chargebacks, we recommend that you include an amount in the `value` field.",
  2079            "Indicates that the merchant is informed by the payment network that the transaction has entered the chargeback process due to fraud. Reason code examples include Discover's '6005' and '6041'. For partial chargebacks, we recommend that you include an amount in the `value` field.",
  2080            "Indicates that the transaction has entered the chargeback process due to fraud, and that the merchant has chosen to enter representment. Reason examples include Discover's '6005' and '6041'. For partial chargebacks, we recommend that you include an amount in the `value` field.",
  2081            "Indicates that the transaction has had a fraud chargeback which was illegitimate and was reversed as a result. For partial chargebacks, we recommend that you include an amount in the `value` field.",
  2082            "Indicates that the merchant has received a refund for a completed transaction. For partial refunds, we recommend that you include an amount in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt tax)",
  2083            "Indicates that the merchant has received a refund request for this transaction, but that they have declined it. For partial refunds, we recommend that you include an amount in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt tax)",
  2084            "Indicates that the completed transaction was refunded by the merchant. For partial refunds, we recommend that you include an amount in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt tax)",
  2085            "Indicates that the completed transaction was refunded by the merchant, and that this refund was reversed. For partial refunds, we recommend that you include an amount in the `value` field."
  2086          ],
  2087          "type": "string"
  2088        },
  2089        "reason": {
  2090          "description": "Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.",
  2091          "type": "string"
  2092        },
  2093        "value": {
  2094          "description": "Optional. The value that corresponds with this transaction event, if one exists. For example, a refund event where $5.00 was refunded. Currency is obtained from the original transaction data.",
  2095          "format": "double",
  2096          "type": "number"
  2097        }
  2098      },
  2099      "type": "object"
  2100    },
  2101    "GoogleCloudRecaptchaenterpriseV1UserId": {
  2102      "description": "An identifier associated with a user.",
  2103      "id": "GoogleCloudRecaptchaenterpriseV1UserId",
  2104      "properties": {
  2105        "email": {
  2106          "description": "Optional. An email address.",
  2107          "type": "string"
  2108        },
  2109        "phoneNumber": {
  2110          "description": "Optional. A phone number. Should use the E.164 format.",
  2111          "type": "string"
  2112        },
  2113        "username": {
  2114          "description": "Optional. A unique username, if different from all the other identifiers and `account_id` that are provided. Can be a unique login handle or display name for a user.",
  2115          "type": "string"
  2116        }
  2117      },
  2118      "type": "object"
  2119    },
  2120    "GoogleCloudRecaptchaenterpriseV1UserInfo": {
  2121      "description": "User information associated with a request protected by reCAPTCHA Enterprise.",
  2122      "id": "GoogleCloudRecaptchaenterpriseV1UserInfo",
  2123      "properties": {
  2124        "accountId": {
  2125          "description": "Optional. For logged-in requests or login/registration requests, the unique account identifier associated with this user. You can use the username if it is stable (meaning it is the same for every request associated with the same user), or any stable user ID of your choice. Leave blank for non logged-in actions or guest checkout.",
  2126          "type": "string"
  2127        },
  2128        "createAccountTime": {
  2129          "description": "Optional. Creation time for this account associated with this user. Leave blank for non logged-in actions, guest checkout, or when there is no account associated with the current user.",
  2130          "format": "google-datetime",
  2131          "type": "string"
  2132        },
  2133        "userIds": {
  2134          "description": "Optional. Identifiers associated with this user or request.",
  2135          "items": {
  2136            "$ref": "GoogleCloudRecaptchaenterpriseV1UserId"
  2137          },
  2138          "type": "array"
  2139        }
  2140      },
  2141      "type": "object"
  2142    },
  2143    "GoogleCloudRecaptchaenterpriseV1WafSettings": {
  2144      "description": "Settings specific to keys that can be used for WAF (Web Application Firewall).",
  2145      "id": "GoogleCloudRecaptchaenterpriseV1WafSettings",
  2146      "properties": {
  2147        "wafFeature": {
  2148          "description": "Required. The WAF feature for which this key is enabled.",
  2149          "enum": [
  2150            "WAF_FEATURE_UNSPECIFIED",
  2151            "CHALLENGE_PAGE",
  2152            "SESSION_TOKEN",
  2153            "ACTION_TOKEN",
  2154            "EXPRESS"
  2155          ],
  2156          "enumDescriptions": [
  2157            "Undefined feature.",
  2158            "Redirects suspicious traffic to reCAPTCHA.",
  2159            "Use reCAPTCHA session-tokens to protect the whole user session on the site's domain.",
  2160            "Use reCAPTCHA action-tokens to protect user actions.",
  2161            "Use reCAPTCHA WAF express protection to protect any content other than web pages, like APIs and IoT devices."
  2162          ],
  2163          "type": "string"
  2164        },
  2165        "wafService": {
  2166          "description": "Required. The WAF service that uses this key.",
  2167          "enum": [
  2168            "WAF_SERVICE_UNSPECIFIED",
  2169            "CA",
  2170            "FASTLY",
  2171            "CLOUDFLARE"
  2172          ],
  2173          "enumDescriptions": [
  2174            "Undefined WAF",
  2175            "Cloud Armor",
  2176            "Fastly",
  2177            "Cloudflare"
  2178          ],
  2179          "type": "string"
  2180        }
  2181      },
  2182      "type": "object"
  2183    },
  2184    "GoogleCloudRecaptchaenterpriseV1WebKeySettings": {
  2185      "description": "Settings specific to keys that can be used by websites.",
  2186      "id": "GoogleCloudRecaptchaenterpriseV1WebKeySettings",
  2187      "properties": {
  2188        "allowAllDomains": {
  2189          "description": "Optional. If set to true, it means allowed_domains will not be enforced.",
  2190          "type": "boolean"
  2191        },
  2192        "allowAmpTraffic": {
  2193          "description": "Optional. If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.",
  2194          "type": "boolean"
  2195        },
  2196        "allowedDomains": {
  2197          "description": "Optional. Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'",
  2198          "items": {
  2199            "type": "string"
  2200          },
  2201          "type": "array"
  2202        },
  2203        "challengeSecurityPreference": {
  2204          "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.",
  2205          "enum": [
  2206            "CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED",
  2207            "USABILITY",
  2208            "BALANCE",
  2209            "SECURITY"
  2210          ],
  2211          "enumDescriptions": [
  2212            "Default type that indicates this enum hasn't been specified.",
  2213            "Key tends to show fewer and easier challenges.",
  2214            "Key tends to show balanced (in amount and difficulty) challenges.",
  2215            "Key tends to show more and harder challenges."
  2216          ],
  2217          "type": "string"
  2218        },
  2219        "integrationType": {
  2220          "description": "Required. Describes how this key is integrated with the website.",
  2221          "enum": [
  2222            "INTEGRATION_TYPE_UNSPECIFIED",
  2223            "SCORE",
  2224            "CHECKBOX",
  2225            "INVISIBLE"
  2226          ],
  2227          "enumDescriptions": [
  2228            "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.",
  2229            "Only used to produce scores. It doesn't display the \"I'm not a robot\" checkbox and never shows captcha challenges.",
  2230            "Displays the \"I'm not a robot\" checkbox and may show captcha challenges after it is checked.",
  2231            "Doesn't display the \"I'm not a robot\" checkbox, but may show captcha challenges after risk analysis."
  2232          ],
  2233          "type": "string"
  2234        }
  2235      },
  2236      "type": "object"
  2237    },
  2238    "GoogleProtobufEmpty": {
  2239      "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); }",
  2240      "id": "GoogleProtobufEmpty",
  2241      "properties": {},
  2242      "type": "object"
  2243    },
  2244    "GoogleRpcStatus": {
  2245      "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
  2246      "id": "GoogleRpcStatus",
  2247      "properties": {
  2248        "code": {
  2249          "description": "The status code, which should be an enum value of google.rpc.Code.",
  2250          "format": "int32",
  2251          "type": "integer"
  2252        },
  2253        "details": {
  2254          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
  2255          "items": {
  2256            "additionalProperties": {
  2257              "description": "Properties of the object. Contains field @type with type URL.",
  2258              "type": "any"
  2259            },
  2260            "type": "object"
  2261          },
  2262          "type": "array"
  2263        },
  2264        "message": {
  2265          "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
  2266          "type": "string"
  2267        }
  2268      },
  2269      "type": "object"
  2270    }
  2271  },
  2272  "servicePath": "",
  2273  "title": "reCAPTCHA Enterprise API",
  2274  "version": "v1",
  2275  "version_module": true
  2276}

View as plain text