Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::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
defaccount_id()->::String
Returns
(::String) — Optional. 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=
defaccount_id=(value)->::String
Parameter
value (::String) — Optional. 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) — Optional. 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
defcreation_ms()->::Integer
Returns
(::Integer) — Optional. The epoch milliseconds of the user's account creation.
#creation_ms=
defcreation_ms=(value)->::Integer
Parameter
value (::Integer) — Optional. The epoch milliseconds of the user's account creation.
Returns
(::Integer) — Optional. The epoch milliseconds of the user's account creation.
#email
defemail()->::String
Returns
(::String) — Optional. The email address of the user.
#email=
defemail=(value)->::String
Parameter
value (::String) — Optional. The email address of the user.
Returns
(::String) — Optional. The email address of the user.
#email_verified
defemail_verified()->::Boolean
Returns
(::Boolean) — Optional. Whether the email has been verified to be accessible by the
user (OTP or similar).
#email_verified=
defemail_verified=(value)->::Boolean
Parameter
value (::Boolean) — Optional. Whether the email has been verified to be accessible by the
user (OTP or similar).
Returns
(::Boolean) — Optional. Whether the email has been verified to be accessible by the
user (OTP or similar).
#phone_number
defphone_number()->::String
Returns
(::String) — Optional. The phone number of the user, with country code.
#phone_number=
defphone_number=(value)->::String
Parameter
value (::String) — Optional. The phone number of the user, with country code.
Returns
(::String) — Optional. The phone number of the user, with country code.
#phone_verified
defphone_verified()->::Boolean
Returns
(::Boolean) — Optional. Whether the phone number has been verified to be accessible by
the user (OTP or similar).
#phone_verified=
defphone_verified=(value)->::Boolean
Parameter
value (::Boolean) — Optional. Whether the phone number has been verified to be accessible by
the user (OTP or similar).
Returns
(::Boolean) — Optional. Whether the phone number has been verified to be accessible by
the user (OTP or similar).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::TransactionData::User (v1.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.8.0 (latest)](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [1.7.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.7.1/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [1.6.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.6.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [1.5.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.5.1/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [1.4.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.4.1/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [1.3.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.3.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [1.2.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.2.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [1.1.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.1.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [1.0.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.0.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.22.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.22.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.21.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.21.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.20.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.20.1/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.19.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.19.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.18.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.18.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.17.3](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.17.3/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.16.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.16.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.15.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.15.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.14.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.14.1/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.13.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.13.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.12.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.12.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.11.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.11.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.10.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.10.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.9.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.9.1/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.8.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.8.0/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User)\n- [0.7.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.7.1/Google-Cloud-RecaptchaEnterprise-V1-TransactionData-User) \nReference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::TransactionData::User.\n\nDetails about a user's account involved in the transaction. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #account_id\n\n def account_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. 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.\n\n### #account_id=\n\n def account_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. 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. \n**Returns**\n\n- (::String) --- Optional. 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.\n\n### #creation_ms\n\n def creation_ms() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Optional. The epoch milliseconds of the user's account creation.\n\n### #creation_ms=\n\n def creation_ms=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Optional. The epoch milliseconds of the user's account creation. \n**Returns**\n\n- (::Integer) --- Optional. The epoch milliseconds of the user's account creation.\n\n### #email\n\n def email() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. The email address of the user.\n\n### #email=\n\n def email=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. The email address of the user. \n**Returns**\n\n- (::String) --- Optional. The email address of the user.\n\n### #email_verified\n\n def email_verified() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. Whether the email has been verified to be accessible by the user (OTP or similar).\n\n### #email_verified=\n\n def email_verified=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. Whether the email has been verified to be accessible by the user (OTP or similar). \n**Returns**\n\n- (::Boolean) --- Optional. Whether the email has been verified to be accessible by the user (OTP or similar).\n\n### #phone_number\n\n def phone_number() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. The phone number of the user, with country code.\n\n### #phone_number=\n\n def phone_number=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. The phone number of the user, with country code. \n**Returns**\n\n- (::String) --- Optional. The phone number of the user, with country code.\n\n### #phone_verified\n\n def phone_verified() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. Whether the phone number has been verified to be accessible by the user (OTP or similar).\n\n### #phone_verified=\n\n def phone_verified=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. Whether the phone number has been verified to be accessible by the user (OTP or similar). \n**Returns**\n\n- (::Boolean) --- Optional. Whether the phone number has been verified to be accessible by the user (OTP or similar)."]]