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.
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).