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
def account_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=
def account_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
def creation_ms() -> ::Integer
Returns
- (::Integer) — Optional. The epoch milliseconds of the user's account creation.
#creation_ms=
def creation_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.
def email() -> ::String
Returns
- (::String) — Optional. The email address of the user.
#email=
def email=(value) -> ::String
Parameter
- value (::String) — Optional. The email address of the user.
Returns
- (::String) — Optional. The email address of the user.
#email_verified
def email_verified() -> ::Boolean
Returns
- (::Boolean) — Optional. 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) — 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
def phone_number() -> ::String
Returns
- (::String) — Optional. The phone number of the user, with country code.
#phone_number=
def phone_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
def phone_verified() -> ::Boolean
Returns
- (::Boolean) — Optional. 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) — 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).