Google Cloud Recaptcha Enterprise V1 Client - Class AccountVerificationInfo (1.7.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
NameDescription
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 hashed account ID field in Event.

getEndpoints

Optional. Endpoints that can be used for identity verification.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEndpoints

Optional. Endpoints that can be used for identity verification.

Parameter
NameDescription
var array<Google\Cloud\RecaptchaEnterprise\V1\EndpointVerificationInfo>
Returns
TypeDescription
$this

getLanguageCode

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

Returns
TypeDescription
string

setLanguageCode

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLatestVerificationResult

Output only. Result of the latest account verification challenge.

Returns
TypeDescription
int

setLatestVerificationResult

Output only. Result of the latest account verification challenge.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getUsername

Username of the account that is being verified. Deprecated. Customers should now provide the hashed account ID field in Event.

Returns
TypeDescription
string

setUsername

Username of the account that is being verified. Deprecated. Customers should now provide the hashed account ID field in Event.

Parameter
NameDescription
var string
Returns
TypeDescription
$this