Class: Google::Apis::WebriskV1::GoogleCloudWebriskV1ThreatEntryRemovals

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/webrisk_v1/classes.rb,
lib/google/apis/webrisk_v1/representations.rb,
lib/google/apis/webrisk_v1/representations.rb

Overview

Contains the set of entries to remove from a local database.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudWebriskV1ThreatEntryRemovals

Returns a new instance of GoogleCloudWebriskV1ThreatEntryRemovals.



424
425
426
# File 'lib/google/apis/webrisk_v1/classes.rb', line 424

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#raw_indicesGoogle::Apis::WebriskV1::GoogleCloudWebriskV1RawIndices

A set of raw indices to remove from a local list. Corresponds to the JSON property rawIndices



416
417
418
# File 'lib/google/apis/webrisk_v1/classes.rb', line 416

def raw_indices
  @raw_indices
end

#rice_indicesGoogle::Apis::WebriskV1::GoogleCloudWebriskV1RiceDeltaEncoding

The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices. Corresponds to the JSON property riceIndices



422
423
424
# File 'lib/google/apis/webrisk_v1/classes.rb', line 422

def rice_indices
  @rice_indices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



429
430
431
432
# File 'lib/google/apis/webrisk_v1/classes.rb', line 429

def update!(**args)
  @raw_indices = args[:raw_indices] if args.key?(:raw_indices)
  @rice_indices = args[:rice_indices] if args.key?(:rice_indices)
end