# reCAPTCHA Enterprise V1beta1 API - Class Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionData::User (v0.21.0)

0.21.0 (latest) 0.20.0 0.19.1 0.18.0 0.17.3 0.16.1 0.15.2 0.14.0 0.13.0 0.12.2 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.5 Reference documentation and code samples for the reCAPTCHA Enterprise V1beta1 API class Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionData::User.

Details about a user's account involved in the transaction.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #account_id

    def account_id() -> ::String

**Returns**

- (::String) --- Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.

### #account_id=

    def account_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.
**Returns**

- (::String) --- Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.

### #creation_ms

    def creation_ms() -> ::Integer

**Returns**

- (::Integer) --- The epoch milliseconds of the user's account creation.

### #creation_ms=

    def creation_ms=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The epoch milliseconds of the user's account creation.
**Returns**

- (::Integer) --- The epoch milliseconds of the user's account creation.

### #email

    def email() -> ::String

**Returns**

- (::String) --- The email address of the user.

### #email=

    def email=(value) -> ::String

**Parameter**

- **value** (::String) --- The email address of the user.
**Returns**

- (::String) --- The email address of the user.

### #email_verified

    def email_verified() -> ::Boolean

**Returns**

- (::Boolean) --- Whether the email has been verified to be accessible by the user (OTP or similar).

### #email_verified=

    def email_verified=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Whether the email has been verified to be accessible by the user (OTP or similar).
**Returns**

- (::Boolean) --- Whether the email has been verified to be accessible by the user (OTP or similar).

### #phone_number

    def phone_number() -> ::String

**Returns**

- (::String) --- The phone number of the user, with country code.

### #phone_number=

    def phone_number=(value) -> ::String

**Parameter**

- **value** (::String) --- The phone number of the user, with country code.
**Returns**

- (::String) --- The phone number of the user, with country code.

### #phone_verified

    def phone_verified() -> ::Boolean

**Returns**

- (::Boolean) --- Whether the phone number has been verified to be accessible by the user (OTP or similar).

### #phone_verified=

    def phone_verified=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Whether the phone number has been verified to be accessible by the user (OTP or similar).
**Returns**

- (::Boolean) --- Whether the phone number has been verified to be accessible by the user (OTP or similar).