# reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::EndpointVerificationInfo (v1.11.0)

1.11.0 (latest) 1.9.1 1.8.0 1.7.1 1.6.0 1.5.1 1.4.1 1.3.0 1.2.0 1.1.0 1.0.0 0.22.0 0.21.0 0.20.1 0.19.0 0.18.0 0.17.3 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 0.8.0 0.7.1 Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::EndpointVerificationInfo.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #email_address

    def email_address() -> ::String

**Returns**

- (::String) --- Email address for which to trigger a verification request.

  Note: The following fields are mutually exclusive: `email_address`, `phone_number`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #email_address=

    def email_address=(value) -> ::String

**Parameter**

- **value** (::String) --- Email address for which to trigger a verification request.


  Note: The following fields are mutually exclusive: `email_address`, `phone_number`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- Email address for which to trigger a verification request.

  Note: The following fields are mutually exclusive: `email_address`, `phone_number`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #last_verification_time

    def last_verification_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Timestamp of the last successful verification for the endpoint, if any.

### #phone_number

    def phone_number() -> ::String

**Returns**

- (::String) --- Phone number for which to trigger a verification request. Should be given in E.164 format.

  Note: The following fields are mutually exclusive: `phone_number`, `email_address`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #phone_number=

    def phone_number=(value) -> ::String

**Parameter**

- **value** (::String) --- Phone number for which to trigger a verification request. Should be given in E.164 format.


  Note: The following fields are mutually exclusive: `phone_number`, `email_address`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- Phone number for which to trigger a verification request. Should be given in E.164 format.

  Note: The following fields are mutually exclusive: `phone_number`, `email_address`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #request_token

    def request_token() -> ::String

**Returns**

- (::String) --- Output only. Token to provide to the client to trigger endpoint verification. It must be used within 15 minutes.