Google Cloud Recaptcha Enterprise V1 Client - Class AccountVerificationInfo (1.12.0)

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

Information about account verification, used for identity verification.

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

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ endpoints array<Google\Cloud\RecaptchaEnterprise\V1\EndpointVerificationInfo>

Optional. Endpoints that can be used for identity verification.

↳ language_code string

Optional. Language code preference for the verification message, set as a IETF BCP 47 language code.

↳ latest_verification_result int

Output only. Result of the latest account verification challenge.

↳ username string

Username of the account that is being verified. Deprecated. Customers should now provide the account_id field in event.user_info.

getEndpoints

Optional. Endpoints that can be used for identity verification.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEndpoints

Optional. Endpoints that can be used for identity verification.

Parameter
Name Description
var array<Google\Cloud\RecaptchaEnterprise\V1\EndpointVerificationInfo>
Returns
Type Description
$this

getLanguageCode

Optional. Language code preference for the verification message, set as a IETF BCP 47 language code.

Returns
Type Description
string

setLanguageCode

Optional. Language code preference for the verification message, set as a IETF BCP 47 language code.

Parameter
Name Description
var string
Returns
Type Description
$this

getLatestVerificationResult

Output only. Result of the latest account verification challenge.

Returns
Type Description
int

setLatestVerificationResult

Output only. Result of the latest account verification challenge.

Parameter
Name Description
var int
Returns
Type Description
$this

getUsername

Username of the account that is being verified. Deprecated. Customers should now provide the account_id field in event.user_info.

Returns
Type Description
string

setUsername

Username of the account that is being verified. Deprecated. Customers should now provide the account_id field in event.user_info.

Parameter
Name Description
var string
Returns
Type Description
$this