Class: Google::Apis::WebriskV1::GoogleCloudWebriskV1ThreatEntryRemovals
- Inherits:
-
Object
- Object
- Google::Apis::WebriskV1::GoogleCloudWebriskV1ThreatEntryRemovals
- 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
-
#raw_indices ⇒ Google::Apis::WebriskV1::GoogleCloudWebriskV1RawIndices
A set of raw indices to remove from a local list.
-
#rice_indices ⇒ Google::Apis::WebriskV1::GoogleCloudWebriskV1RiceDeltaEncoding
The Rice-Golomb encoded data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudWebriskV1ThreatEntryRemovals
constructor
A new instance of GoogleCloudWebriskV1ThreatEntryRemovals.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudWebriskV1ThreatEntryRemovals
Returns a new instance of GoogleCloudWebriskV1ThreatEntryRemovals.
367 368 369 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 367 def initialize(**args) update!(**args) end |
Instance Attribute Details
#raw_indices ⇒ Google::Apis::WebriskV1::GoogleCloudWebriskV1RawIndices
A set of raw indices to remove from a local list.
Corresponds to the JSON property rawIndices
359 360 361 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 359 def raw_indices @raw_indices end |
#rice_indices ⇒ Google::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
365 366 367 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 365 def rice_indices @rice_indices end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
372 373 374 375 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 372 def update!(**args) @raw_indices = args[:raw_indices] if args.key?(:raw_indices) @rice_indices = args[:rice_indices] if args.key?(:rice_indices) end |