class Google::Apis::WebriskV1::GoogleCloudWebriskV1ComputeThreatListDiffResponse
Attributes
Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response. Corresponds to the JSON property `additions` @return [Google::Apis::WebriskV1::GoogleCloudWebriskV1ThreatEntryAdditions]
The expected state of a client's local database. Corresponds to the JSON property `checksum` @return [Google::Apis::WebriskV1::GoogleCloudWebriskV1ComputeThreatListDiffResponseChecksum]
The new opaque client version token. This should be retained by the client and passed into the next call of ComputeThreatListDiff as 'version_token'. A separate version token should be stored and used for each threatList. Corresponds to the JSON property `newVersionToken` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want. Corresponds to the JSON property `recommendedNextDiff` @return [String]
Contains the set of entries to remove from a local database. Corresponds to the JSON property `removals` @return [Google::Apis::WebriskV1::GoogleCloudWebriskV1ThreatEntryRemovals]
The type of response. This may indicate that an action must be taken by the client when the response is received. Corresponds to the JSON property `responseType` @return [String]
Public Class Methods
# File lib/google/apis/webrisk_v1/classes.rb, line 67 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/webrisk_v1/classes.rb, line 72 def update!(**args) @additions = args[:additions] if args.key?(:additions) @checksum = args[:checksum] if args.key?(:checksum) @new_version_token = args[:new_version_token] if args.key?(:new_version_token) @recommended_next_diff = args[:recommended_next_diff] if args.key?(:recommended_next_diff) @removals = args[:removals] if args.key?(:removals) @response_type = args[:response_type] if args.key?(:response_type) end