# reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::AccountVerificationInfo (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::AccountVerificationInfo.

Information about account verification, used for identity verification.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #endpoints

    def endpoints() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::EndpointVerificationInfo>

**Returns**

- (::Array\<[::Google::Cloud::RecaptchaEnterprise::V1::EndpointVerificationInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\>) --- Optional. Endpoints that can be used for identity verification.

### #endpoints=

    def endpoints=(value) -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::EndpointVerificationInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::RecaptchaEnterprise::V1::EndpointVerificationInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\>) --- Optional. Endpoints that can be used for identity verification.
**Returns**

- (::Array\<[::Google::Cloud::RecaptchaEnterprise::V1::EndpointVerificationInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\>) --- Optional. Endpoints that can be used for identity verification.

### #language_code

    def language_code() -> ::String

**Returns**

- (::String) --- Optional. Language code preference for the verification message, set as a IETF BCP 47 language code.

### #language_code=

    def language_code=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Language code preference for the verification message, set as a IETF BCP 47 language code.
**Returns**

- (::String) --- Optional. Language code preference for the verification message, set as a IETF BCP 47 language code.

### #latest_verification_result

    def latest_verification_result() -> ::Google::Cloud::RecaptchaEnterprise::V1::AccountVerificationInfo::Result

**Returns**

- ([::Google::Cloud::RecaptchaEnterprise::V1::AccountVerificationInfo::Result](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-AccountVerificationInfo-Result)) --- Output only. Result of the latest account verification challenge.

### #username

    def username() -> ::String

**Returns**

- (::String) --- Username of the account that is being verified. Deprecated. Customers should now provide the `account_id` field in `event.user_info`.

### #username=

    def username=(value) -> ::String

**Parameter**

- **value** (::String) --- Username of the account that is being verified. Deprecated. Customers should now provide the `account_id` field in `event.user_info`.
**Returns**

- (::String) --- Username of the account that is being verified. Deprecated. Customers should now provide the `account_id` field in `event.user_info`.