ProjectsKeys
class ProjectsKeys extends Resource (View source)
The "keys" collection of methods.
Typical usage is:
$recaptchaenterpriseService = new Google\Service\RecaptchaEnterprise(...);
$keys = $recaptchaenterpriseService->projects_keys;
Methods
Adds an IP override to a key. The following restrictions hold: The maximum number of IP overrides per key is 100. For any conflict (such as IP already exists or IP part of an existing IP range), an error will be returned.
Creates a new reCAPTCHA Enterprise key. (keys.create)
Deletes the specified key. (keys.delete)
Returns the specified key. (keys.get)
Get some aggregated metrics for a Key. This data can be used to build dashboards. (keys.getMetrics)
Returns the list of all keys that belong to a project.
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. (keys.migrate)
Updates the specified key. (keys.patch)
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.
Details
GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse
addIpOverride(string $name, GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest $postBody, array $optParams = [])
Adds an IP override to a key. The following restrictions hold: The maximum number of IP overrides per key is 100. For any conflict (such as IP already exists or IP part of an existing IP range), an error will be returned.
(keys.addIpOverride)
GoogleCloudRecaptchaenterpriseV1Key
create(string $parent, GoogleCloudRecaptchaenterpriseV1Key $postBody, array $optParams = [])
Creates a new reCAPTCHA Enterprise key. (keys.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes the specified key. (keys.delete)
GoogleCloudRecaptchaenterpriseV1Key
get(string $name, array $optParams = [])
Returns the specified key. (keys.get)
GoogleCloudRecaptchaenterpriseV1Metrics
getMetrics(string $name, array $optParams = [])
Get some aggregated metrics for a Key. This data can be used to build dashboards. (keys.getMetrics)
GoogleCloudRecaptchaenterpriseV1ListKeysResponse
listProjectsKeys(string $parent, array $optParams = [])
Returns the list of all keys that belong to a project.
(keys.listProjectsKeys)
GoogleCloudRecaptchaenterpriseV1Key
migrate(string $name, GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest $postBody, array $optParams = [])
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. (keys.migrate)
GoogleCloudRecaptchaenterpriseV1Key
patch(string $name, GoogleCloudRecaptchaenterpriseV1Key $postBody, array $optParams = [])
Updates the specified key. (keys.patch)
GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
retrieveLegacySecretKey(string $key, array $optParams = [])
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.
(keys.retrieveLegacySecretKey)