class Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatHitUserInfo

Details about the user that encountered the threat.

Attributes

region_code[RW]

The UN M.49 region code associated with the user's location. Corresponds to the JSON property `regionCode` @return [String]

user_id[RW]

Unique user identifier defined by the client. Corresponds to the JSON property `userId` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/safebrowsing_v4/classes.rb, line 778
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/safebrowsing_v4/classes.rb, line 783
def update!(**args)
  @region_code = args[:region_code] if args.key?(:region_code)
  @user_id = args[:user_id] if args.key?(:user_id)
end