class Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest

A single list update request.

Attributes

constraints[RW]

The constraints for this update. Corresponds to the JSON property `constraints` @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints]

platform_type[RW]

The type of platform at risk by entries present in the list. Corresponds to the JSON property `platformType` @return [String]

state[RW]

The current state of the client for the requested list (the encrypted client state that was received from the last successful list update). Corresponds to the JSON property `state` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

threat_entry_type[RW]

The types of entries present in the list. Corresponds to the JSON property `threatEntryType` @return [String]

threat_type[RW]

The type of threat posed by entries present in the list. 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 148
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 153
def update!(**args)
  @constraints = args[:constraints] if args.key?(:constraints)
  @platform_type = args[:platform_type] if args.key?(:platform_type)
  @state = args[:state] if args.key?(:state)
  @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type)
  @threat_type = args[:threat_type] if args.key?(:threat_type)
end