Class: Google::Apis::SafebrowsingV4::FetchThreatListUpdatesRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SafebrowsingV4::FetchThreatListUpdatesRequest
 
- 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::ClientInfo 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The client metadata associated with Safe Browsing API requests. 
- 
  
    
      #list_update_requests  ⇒ Array<Google::Apis::SafebrowsingV4::ListUpdateRequest> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The requested threat list updates. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FetchThreatListUpdatesRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of FetchThreatListUpdatesRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FetchThreatListUpdatesRequest
Returns a new instance of FetchThreatListUpdatesRequest
| 165 166 167 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 165 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#client ⇒ Google::Apis::SafebrowsingV4::ClientInfo
The client metadata associated with Safe Browsing API requests.
Corresponds to the JSON property client
| 158 159 160 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 158 def client @client end | 
#list_update_requests ⇒ Array<Google::Apis::SafebrowsingV4::ListUpdateRequest>
The requested threat list updates.
Corresponds to the JSON property listUpdateRequests
| 163 164 165 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 163 def list_update_requests @list_update_requests end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 170 171 172 173 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 170 def update!(**args) @client = args[:client] if args.key?(:client) @list_update_requests = args[:list_update_requests] if args.key?(:list_update_requests) end |