class Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse

An update to an individual list.

Attributes

additions[RW]

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` @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntrySet>]

checksum[RW]

The expected state of a client's local database. Corresponds to the JSON property `checksum` @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4Checksum]

new_client_state[RW]

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. @return [String]

platform_type[RW]

The platform type for which data is returned. Corresponds to the JSON property `platformType` @return [String]

removals[RW]

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` @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntrySet>]

response_type[RW]

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` @return [String]

threat_entry_type[RW]

The format of the threats. Corresponds to the JSON property `threatEntryType` @return [String]

threat_type[RW]

The threat type for which data is returned. Corresponds to the JSON property `threatType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/safebrowsing_v4/classes.rb, line 293
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 298
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