Class: Google::Apis::SafebrowsingV4::ListUpdateResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SafebrowsingV4::ListUpdateResponse
 
- 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
An update to an individual list.
Instance Attribute Summary collapse
- 
  
    
      #additions  ⇒ Array<Google::Apis::SafebrowsingV4::ThreatEntrySet> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A set of entries to add to a local threat type's list. 
- 
  
    
      #checksum  ⇒ Google::Apis::SafebrowsingV4::Checksum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The expected state of a client's local database. 
- 
  
    
      #new_client_state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The new client state, in encrypted format. 
- 
  
    
      #platform_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The platform type for which data is returned. 
- 
  
    
      #removals  ⇒ Array<Google::Apis::SafebrowsingV4::ThreatEntrySet> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A set of entries to remove from a local threat type's list. 
- 
  
    
      #response_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of response. 
- 
  
    
      #threat_entry_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The format of the threats. 
- 
  
    
      #threat_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The threat type for which data is returned. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListUpdateResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListUpdateResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListUpdateResponse
Returns a new instance of ListUpdateResponse
| 432 433 434 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 432 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#additions ⇒ Array<Google::Apis::SafebrowsingV4::ThreatEntrySet>
A set of entries to add to a local threat type's list. Repeated to allow
for a combination of compressed and raw data to be sent in a single
response.
Corresponds to the JSON property additions
| 392 393 394 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 392 def additions @additions end | 
#checksum ⇒ Google::Apis::SafebrowsingV4::Checksum
The expected state of a client's local database.
Corresponds to the JSON property checksum
| 397 398 399 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 397 def checksum @checksum end | 
#new_client_state ⇒ String
The new client state, in encrypted format. Opaque to clients.
Corresponds to the JSON property newClientState
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 403 404 405 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 403 def new_client_state @new_client_state end | 
#platform_type ⇒ String
The platform type for which data is returned.
Corresponds to the JSON property platformType
| 408 409 410 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 408 def platform_type @platform_type end | 
#removals ⇒ Array<Google::Apis::SafebrowsingV4::ThreatEntrySet>
A set of entries to remove from a local threat type's list. In practice,
this field is empty or contains exactly one ThreatEntrySet.
Corresponds to the JSON property removals
| 414 415 416 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 414 def removals @removals end | 
#response_type ⇒ String
The type of response. This may indicate that an action is required by the
client when the response is received.
Corresponds to the JSON property responseType
| 420 421 422 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 420 def response_type @response_type end | 
#threat_entry_type ⇒ String
The format of the threats.
Corresponds to the JSON property threatEntryType
| 425 426 427 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 425 def threat_entry_type @threat_entry_type end | 
#threat_type ⇒ String
The threat type for which data is returned.
Corresponds to the JSON property threatType
| 430 431 432 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 430 def threat_type @threat_type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 437 438 439 440 441 442 443 444 445 446 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 437 def update!(**args) @additions = args[:additions] if args.key?(:additions) @checksum = args[:checksum] if args.key?(:checksum) @new_client_state = args[:new_client_state] if args.key?(:new_client_state) @platform_type = args[:platform_type] if args.key?(:platform_type) @removals = args[:removals] if args.key?(:removals) @response_type = args[:response_type] if args.key?(:response_type) @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type) @threat_type = args[:threat_type] if args.key?(:threat_type) end |