Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo
- Inherits:
-
Object
- Object
- Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/safebrowsing_v4/classes.rb,
generated/google/apis/safebrowsing_v4/representations.rb,
generated/google/apis/safebrowsing_v4/representations.rb
Overview
The client metadata associated with Safe Browsing API requests.
Instance Attribute Summary collapse
-
#client_id ⇒ String
A client ID that (hopefully) uniquely identifies the client implementation of the Safe Browsing API.
-
#client_version ⇒ String
The version of the client implementation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4ClientInfo
constructor
A new instance of GoogleSecuritySafebrowsingV4ClientInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4ClientInfo
Returns a new instance of GoogleSecuritySafebrowsingV4ClientInfo.
78 79 80 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 78 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
A client ID that (hopefully) uniquely identifies the client implementation of
the Safe Browsing API.
Corresponds to the JSON property clientId
71 72 73 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 71 def client_id @client_id end |
#client_version ⇒ String
The version of the client implementation.
Corresponds to the JSON property clientVersion
76 77 78 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 76 def client_version @client_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
83 84 85 86 |
# File 'generated/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 |