class Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo

The client metadata associated with Safe Browsing API requests.

Attributes

client_id[RW]

A client ID that (hopefully) uniquely identifies the client implementation of the Safe Browsing API. Corresponds to the JSON property `clientId` @return [String]

client_version[RW]

The version of the client implementation. Corresponds to the JSON property `clientVersion` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/safebrowsing_v4/classes.rb, line 78
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 83
def update!(**args)
  @client_id = args[:client_id] if args.key?(:client_id)
  @client_version = args[:client_version] if args.key?(:client_version)
end