Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest
- Inherits:
-
Object
- Object
- Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest
- 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
Describes a Safe Browsing API update request. Clients can request updates for multiple lists in a single request. NOTE: Field index 2 is unused. NEXT: 5
Instance Attribute Summary collapse
-
#client ⇒ Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo
The client metadata associated with Safe Browsing API requests.
-
#list_update_requests ⇒ Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest>
The requested threat list updates.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest
constructor
A new instance of GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest
Returns a new instance of GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest.
104 105 106 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 104 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client ⇒ Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo
The client metadata associated with Safe Browsing API requests.
Corresponds to the JSON property client
97 98 99 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 97 def client @client end |
#list_update_requests ⇒ Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest>
The requested threat list updates.
Corresponds to the JSON property listUpdateRequests
102 103 104 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 102 def list_update_requests @list_update_requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
109 110 111 112 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 109 def update!(**args) @client = args[:client] if args.key?(:client) @list_update_requests = args[:list_update_requests] if args.key?(:list_update_requests) end |