From 14dc2a2b343ceea198028d6bd70b88f8a02cb312 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sun, 8 Nov 2026 16:57:57 -0800 Subject: [PATCH] Regenerate recaptchaenterprise client --- ...leCloudRecaptchaenterpriseV1Assessment.php | 5 +-- .../GoogleCloudRecaptchaenterpriseV1Bot.php | 34 ++++++++++--------- ...loudRecaptchaenterpriseV1ChallengeRule.php | 16 ++++----- ...oudRecaptchaenterpriseV1TestingOptions.php | 12 +++---- ...udRecaptchaenterpriseV1TokenProperties.php | 8 ++--- ...captchaenterpriseV1TransactionDataUser.php | 8 ++--- 6 files changed, 43 insertions(+), 40 deletions(-) diff --git a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1Assessment.php b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1Assessment.php index 29138c44f81..d55be97353b 100644 --- a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1Assessment.php +++ b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1Assessment.php @@ -188,8 +188,9 @@ public function getName() return $this->name; } /** - * Output only. Assessment returned when a site key, a token, and a phone - * number as `user_id` are provided. SMS defense needs to be enabled. + * Output only. Assessment returned when a site key, a token, + * `user_info.account_id`, and a phone number in `user_info.user_ids` are + * provided. SMS defense must be enabled. * * @param GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment $phoneFraudAssessment */ diff --git a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1Bot.php b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1Bot.php index 4db96bd733c..b5683e2f105 100644 --- a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1Bot.php +++ b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1Bot.php @@ -48,14 +48,15 @@ class GoogleCloudRecaptchaenterpriseV1Bot extends \Google\Model * formatted in kebab-case. Current example values include the following: * * google-agent - AI_AGENT * browser-base - AI_AGENT * chat-gpt - AI_AGENT * * aws-bedrock - AI_AGENT * cybaa-bot - AI_AGENT * cloudflare - AI_AGENT * - * payhawk - AI_AGENT * duck-duck-go - SEARCH_INDEXER * mediaboard - - * CONTENT_SCRAPER * marker-io - AI_AGENT * anchor-browser - AI_AGENT * - * shopify - AI_AGENT * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * - * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER * meta-muse - AI_AGENT Ensure - * that your applications can handle identifier values not explicitly listed - * here. Deprecated values might take some time to stop showing up in - * responses. New values can be pushed so this list should be taken as non - * exhaustive. + * payhawk - AI_AGENT * duck-duck-go - AI_AGENT * mediaboard - CONTENT_SCRAPER + * * marker-io - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * + * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * + * zvelo - SEARCH_INDEXER * meta-muse - AI_AGENT * duck-duck-bot - + * SEARCH_INDEXER * my-porta - SEARCH_INDEXER * ison-search - SEARCH_INDEXER * + * rokt - SEARCH_INDEXER Ensure that your applications can handle identifier + * values not explicitly listed here. Deprecated values might take some time + * to stop showing up in responses. New values can be pushed so this list + * should be taken as non exhaustive. * * @var string */ @@ -85,14 +86,15 @@ public function getBotType() * formatted in kebab-case. Current example values include the following: * * google-agent - AI_AGENT * browser-base - AI_AGENT * chat-gpt - AI_AGENT * * aws-bedrock - AI_AGENT * cybaa-bot - AI_AGENT * cloudflare - AI_AGENT * - * payhawk - AI_AGENT * duck-duck-go - SEARCH_INDEXER * mediaboard - - * CONTENT_SCRAPER * marker-io - AI_AGENT * anchor-browser - AI_AGENT * - * shopify - AI_AGENT * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * - * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER * meta-muse - AI_AGENT Ensure - * that your applications can handle identifier values not explicitly listed - * here. Deprecated values might take some time to stop showing up in - * responses. New values can be pushed so this list should be taken as non - * exhaustive. + * payhawk - AI_AGENT * duck-duck-go - AI_AGENT * mediaboard - CONTENT_SCRAPER + * * marker-io - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * + * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * + * zvelo - SEARCH_INDEXER * meta-muse - AI_AGENT * duck-duck-bot - + * SEARCH_INDEXER * my-porta - SEARCH_INDEXER * ison-search - SEARCH_INDEXER * + * rokt - SEARCH_INDEXER Ensure that your applications can handle identifier + * values not explicitly listed here. Deprecated values might take some time + * to stop showing up in responses. New values can be pushed so this list + * should be taken as non exhaustive. * * @param string $name */ diff --git a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1ChallengeRule.php b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1ChallengeRule.php index 8e1193e4db9..62a0dbe366e 100644 --- a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1ChallengeRule.php +++ b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1ChallengeRule.php @@ -25,10 +25,10 @@ class GoogleCloudRecaptchaenterpriseV1ChallengeRule extends \Google\Model * Optional. A CEL condition that must be met for this rule to apply. If * unspecified, the rule applies unconditionally. The following fields can be * referenced in the condition: * `score` * `user_ip_address` * `user_asn` * - * `user_agent` * `verified_bots.name` * `verified_bots.bot_type` Examples: * - * `score < 0.5` * `user_ip_address == "123.45.67.89"` * - * `user_agent.contains("Chrome")` * `score < 0.5 && user_ip_address == - * "123.45.67.89"` + * `user_agent` * `region_code` * `verified_bots.name` * + * `verified_bots.bot_type` Examples: * `score < 0.5` * `user_ip_address == + * "123.45.67.89"` * `user_agent.contains("Chrome")` * `score < 0.5 && + * user_ip_address == "123.45.67.89"` * * @var string */ @@ -56,10 +56,10 @@ public function getChallenge() * Optional. A CEL condition that must be met for this rule to apply. If * unspecified, the rule applies unconditionally. The following fields can be * referenced in the condition: * `score` * `user_ip_address` * `user_asn` * - * `user_agent` * `verified_bots.name` * `verified_bots.bot_type` Examples: * - * `score < 0.5` * `user_ip_address == "123.45.67.89"` * - * `user_agent.contains("Chrome")` * `score < 0.5 && user_ip_address == - * "123.45.67.89"` + * `user_agent` * `region_code` * `verified_bots.name` * + * `verified_bots.bot_type` Examples: * `score < 0.5` * `user_ip_address == + * "123.45.67.89"` * `user_agent.contains("Chrome")` * `score < 0.5 && + * user_ip_address == "123.45.67.89"` * * @param string $condition */ diff --git a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TestingOptions.php b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TestingOptions.php index 5aee3e2f752..4461596715c 100644 --- a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TestingOptions.php +++ b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TestingOptions.php @@ -34,9 +34,9 @@ class GoogleCloudRecaptchaenterpriseV1TestingOptions extends \Google\Model */ public const TESTING_CHALLENGE_UNSOLVABLE_CHALLENGE = 'UNSOLVABLE_CHALLENGE'; /** - * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all - * challenge requests for this site return nocaptcha if NOCAPTCHA, or an - * unsolvable challenge if CHALLENGE. + * Optional. For challenge-based keys only (`CHECKBOX`, `INVISIBLE`), all + * challenge requests for this site do not show a challenge if `NOCAPTCHA`, or + * show an unsolvable challenge if `UNSOLVABLE_CHALLENGE`. * * @var string */ @@ -50,9 +50,9 @@ class GoogleCloudRecaptchaenterpriseV1TestingOptions extends \Google\Model public $testingScore; /** - * Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all - * challenge requests for this site return nocaptcha if NOCAPTCHA, or an - * unsolvable challenge if CHALLENGE. + * Optional. For challenge-based keys only (`CHECKBOX`, `INVISIBLE`), all + * challenge requests for this site do not show a challenge if `NOCAPTCHA`, or + * show an unsolvable challenge if `UNSOLVABLE_CHALLENGE`. * * Accepted values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, * UNSOLVABLE_CHALLENGE diff --git a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TokenProperties.php b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TokenProperties.php index 283ad90a2c5..15160b22888 100644 --- a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TokenProperties.php +++ b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TokenProperties.php @@ -51,10 +51,10 @@ class GoogleCloudRecaptchaenterpriseV1TokenProperties extends \Google\Model /** * The action provided at token generation was different than the * `expected_action` in the assessment request. The comparison is case- - * insensitive. This reason can only be returned if all of the following are - * true: - your `site_key` has the POLICY_BASED_CHALLENGE integration type - - * you set an action score threshold higher than 0.0 - you provided a non- - * empty `expected_action` + * insensitive. This reason can only be returned if an `expected_action` is + * provided and either: - your `site_key` is a Universal key, or - your + * `site_key` has the `POLICY_BASED_CHALLENGE` integration type with an action + * score threshold higher than 0.0 */ public const INVALID_REASON_UNEXPECTED_ACTION = 'UNEXPECTED_ACTION'; /** diff --git a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TransactionDataUser.php b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TransactionDataUser.php index b372a2ac0d8..011a06ac675 100644 --- a/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TransactionDataUser.php +++ b/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TransactionDataUser.php @@ -21,8 +21,8 @@ class GoogleCloudRecaptchaenterpriseV1TransactionDataUser extends \Google\Model { /** * Optional. Unique account identifier for this user. If using Account - * defense, this should match the hashed_account_id field. Otherwise, a unique - * and persistent identifier for this account. + * defense, this should match the `user_info.account_id` field. Otherwise, a + * unique and persistent identifier for this account. * * @var string */ @@ -62,8 +62,8 @@ class GoogleCloudRecaptchaenterpriseV1TransactionDataUser extends \Google\Model /** * Optional. Unique account identifier for this user. If using Account - * defense, this should match the hashed_account_id field. Otherwise, a unique - * and persistent identifier for this account. + * defense, this should match the `user_info.account_id` field. Otherwise, a + * unique and persistent identifier for this account. * * @param string $accountId */