Google Cloud Recaptcha Enterprise V1 Client - Class Bot (2.5.3)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class Bot.

Bot information and metadata.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.Bot

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Optional. Enumerated string value that indicates the identity of the bot, 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 * * broadcom - AI_AGENT * * anchor-browser - AI_AGENT * * shopify - AI_AGENT * * stackscope - CONTENT_SCRAPER * * manus - AI_AGENT * * kernel-sh - AI_AGENT * * zvelo - 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.

↳ bot_type int

Optional. Enumerated field representing the type of bot.

getName

Optional. Enumerated string value that indicates the identity of the bot, 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
  • broadcom - AI_AGENT
  • anchor-browser - AI_AGENT
  • shopify - AI_AGENT
  • stackscope - CONTENT_SCRAPER
  • manus - AI_AGENT
  • kernel-sh - AI_AGENT
  • zvelo - 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.
Returns
Type Description
string

setName

Optional. Enumerated string value that indicates the identity of the bot, 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
  • broadcom - AI_AGENT
  • anchor-browser - AI_AGENT
  • shopify - AI_AGENT
  • stackscope - CONTENT_SCRAPER
  • manus - AI_AGENT
  • kernel-sh - AI_AGENT
  • zvelo - 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.
Parameter
Name Description
var string
Returns
Type Description
$this

getBotType

Optional. Enumerated field representing the type of bot.

Returns
Type Description
int Enum of type BotType.

setBotType

Optional. Enumerated field representing the type of bot.

Parameter
Name Description
var int

Enum of type BotType.

Returns
Type Description
$this