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

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.

↳ 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.

Returns
Type Description
string

setName

Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case.

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