Google Cloud Recaptcha Enterprise V1 Client - Class EndpointVerificationInfo (1.17.2)

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

Information about a verification endpoint that can be used for 2FA.

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

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ email_address string

Email address for which to trigger a verification request.

↳ phone_number string

Phone number for which to trigger a verification request. Should be given in E.164 format.

↳ request_token string

Output only. Token to provide to the client to trigger endpoint verification. It must be used within 15 minutes.

↳ last_verification_time Google\Protobuf\Timestamp

Output only. Timestamp of the last successful verification for the endpoint, if any.

getEmailAddress

Email address for which to trigger a verification request.

Returns
Type Description
string

hasEmailAddress

setEmailAddress

Email address for which to trigger a verification request.

Parameter
Name Description
var string
Returns
Type Description
$this

getPhoneNumber

Phone number for which to trigger a verification request. Should be given in E.164 format.

Returns
Type Description
string

hasPhoneNumber

setPhoneNumber

Phone number for which to trigger a verification request. Should be given in E.164 format.

Parameter
Name Description
var string
Returns
Type Description
$this

getRequestToken

Output only. Token to provide to the client to trigger endpoint verification. It must be used within 15 minutes.

Returns
Type Description
string

setRequestToken

Output only. Token to provide to the client to trigger endpoint verification. It must be used within 15 minutes.

Parameter
Name Description
var string
Returns
Type Description
$this

getLastVerificationTime

Output only. Timestamp of the last successful verification for the endpoint, if any.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastVerificationTime

clearLastVerificationTime

setLastVerificationTime

Output only. Timestamp of the last successful verification for the endpoint, if any.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndpoint

Returns
Type Description
string