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

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
NameDescription
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
TypeDescription
string

hasEmailAddress

setEmailAddress

Email address for which to trigger a verification request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPhoneNumber

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

Returns
TypeDescription
string

hasPhoneNumber

setPhoneNumber

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRequestToken

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

Returns
TypeDescription
string

setRequestToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLastVerificationTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasLastVerificationTime

clearLastVerificationTime

setLastVerificationTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndpoint

Returns
TypeDescription
string