Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::UserInfo.
User information associated with a request protected by reCAPTCHA Enterprise.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#account_id
def account_id() -> ::String
Returns
- (::String) — Optional. For logged-in requests or login/registration requests, the unique account identifier associated with this user. You can use the username if it is stable (meaning it is the same for every request associated with the same user), or any stable user ID of your choice. Leave blank for non logged-in actions or guest checkout.
#account_id=
def account_id=(value) -> ::String
Parameter
- value (::String) — Optional. For logged-in requests or login/registration requests, the unique account identifier associated with this user. You can use the username if it is stable (meaning it is the same for every request associated with the same user), or any stable user ID of your choice. Leave blank for non logged-in actions or guest checkout.
Returns
- (::String) — Optional. For logged-in requests or login/registration requests, the unique account identifier associated with this user. You can use the username if it is stable (meaning it is the same for every request associated with the same user), or any stable user ID of your choice. Leave blank for non logged-in actions or guest checkout.
#create_account_time
def create_account_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. Creation time for this account associated with this user. Leave blank for non logged-in actions, guest checkout, or when there is no account associated with the current user.
#create_account_time=
def create_account_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. Creation time for this account associated with this user. Leave blank for non logged-in actions, guest checkout, or when there is no account associated with the current user.
Returns
- (::Google::Protobuf::Timestamp) — Optional. Creation time for this account associated with this user. Leave blank for non logged-in actions, guest checkout, or when there is no account associated with the current user.
#user_ids
def user_ids() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::UserId>
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::UserId>) — Optional. Identifiers associated with this user or request.
#user_ids=
def user_ids=(value) -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::UserId>
Parameter
- value (::Array<::Google::Cloud::RecaptchaEnterprise::V1::UserId>) — Optional. Identifiers associated with this user or request.
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::UserId>) — Optional. Identifiers associated with this user or request.