# Google Cloud Recaptcha Enterprise V1 Client - Class EndpointVerificationInfo (2.3.1)

2.3.1 (latest) 2.3.0 2.2.1 2.1.3 2.0.1 1.17.2 1.16.1 1.15.0 1.14.0 1.13.0 1.12.2 1.8.0 1.7.0 1.6.0 1.5.2 1.4.2 1.3.2 1.2.6 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` | `https://protobuf.dev/reference/php/api-docs/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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasLastVerificationTime

### clearLastVerificationTime

### setLastVerificationTime

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEndpoint

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |