|
369 | 369 | "scopes": [
|
370 | 370 | "https://www.googleapis.com/auth/cloud-platform"
|
371 | 371 | ]
|
| 372 | + }, |
| 373 | + "retrieveLegacySecretKey": { |
| 374 | + "description": "Returns the secret key related to the specified public key. You should use the legacy secret key only if you are integrating with a 3rd party using the legacy reCAPTCHA instead of reCAPTCHA Enterprise.", |
| 375 | + "flatPath": "v1/projects/{projectsId}/keys/{keysId}:retrieveLegacySecretKey", |
| 376 | + "httpMethod": "GET", |
| 377 | + "id": "recaptchaenterprise.projects.keys.retrieveLegacySecretKey", |
| 378 | + "parameterOrder": [ |
| 379 | + "key" |
| 380 | + ], |
| 381 | + "parameters": { |
| 382 | + "key": { |
| 383 | + "description": "Required. The public key name linked to the requested secret key , in the format \"projects/{project}/keys/{key}\".", |
| 384 | + "location": "path", |
| 385 | + "pattern": "^projects/[^/]+/keys/[^/]+$", |
| 386 | + "required": true, |
| 387 | + "type": "string" |
| 388 | + } |
| 389 | + }, |
| 390 | + "path": "v1/{+key}:retrieveLegacySecretKey", |
| 391 | + "response": { |
| 392 | + "$ref": "GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse" |
| 393 | + }, |
| 394 | + "scopes": [ |
| 395 | + "https://www.googleapis.com/auth/cloud-platform" |
| 396 | + ] |
372 | 397 | }
|
373 | 398 | }
|
374 | 399 | },
|
|
489 | 514 | }
|
490 | 515 | }
|
491 | 516 | },
|
492 |
| - "revision": "20220429", |
| 517 | + "revision": "20220505", |
493 | 518 | "rootUrl": "https://recaptchaenterprise.googleapis.com/",
|
494 | 519 | "schemas": {
|
495 | 520 | "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
|
|
876 | 901 | },
|
877 | 902 | "type": "object"
|
878 | 903 | },
|
| 904 | + "GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse": { |
| 905 | + "description": "Secret key used in legacy reCAPTCHA only. Should be used when integrating with a 3rd party which is still using legacy reCAPTCHA.", |
| 906 | + "id": "GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse", |
| 907 | + "properties": { |
| 908 | + "legacySecretKey": { |
| 909 | + "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.", |
| 910 | + "type": "string" |
| 911 | + } |
| 912 | + }, |
| 913 | + "type": "object" |
| 914 | + }, |
879 | 915 | "GoogleCloudRecaptchaenterpriseV1RiskAnalysis": {
|
880 | 916 | "description": "Risk analysis result for an event.",
|
881 | 917 | "id": "GoogleCloudRecaptchaenterpriseV1RiskAnalysis",
|
|
0 commit comments