class Google::Apis::WebriskV1::GoogleCloudWebriskV1ComputeThreatListDiffResponse

Attributes

additions[RW]

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]

checksum[RW]

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

new_version_token[RW]

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]

removals[RW]

Contains the set of entries to remove from a local database. Corresponds to the JSON property `removals` @return [Google::Apis::WebriskV1::GoogleCloudWebriskV1ThreatEntryRemovals]

response_type[RW]

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

new(**args) click to toggle source
# File lib/google/apis/webrisk_v1/classes.rb, line 67
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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