Skip to main content

keys

Overview

Namekeys
TypeResource
Idgoogle.recaptchaenterprise.keys

Fields

NameDatatypeDescription
namestringThe resource name for the Key in the format "projects/{project}/keys/{key}".
testingOptionsobjectOptions for user acceptance testing.
displayNamestringHuman-readable display name of this key. Modifiable by user.
androidSettingsobjectSettings specific to keys that can be used by Android apps.
iosSettingsobjectSettings specific to keys that can be used by iOS apps.
labelsobjectSee Creating and managing labels.
wafSettingsobjectSettings specific to keys that can be used for WAF (Web Application Firewall).
webSettingsobjectSettings specific to keys that can be used by websites.
createTimestringOutput only. The timestamp corresponding to the creation of this key.

Methods

NameAccessible byRequired ParamsDescription
getSELECTkeysId, projectsIdReturns the specified key.
listSELECTprojectsIdReturns the list of all keys that belong to a project.
createINSERTprojectsIdCreates a new reCAPTCHA Enterprise key.
deleteDELETEkeysId, projectsIdDeletes the specified key.
_listEXECprojectsIdReturns the list of all keys that belong to a project.
migrateEXECkeysId, projectsIdMigrates 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.
patchEXECkeysId, projectsIdUpdates the specified key.