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.
393 394 395 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 393 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
385 386 387 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 385 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
391 392 393 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 391 def rice_indices @rice_indices end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
398 399 400 401 |
# File 'lib/google/apis/webrisk_v1/classes.rb', line 398 def update!(**args) @raw_indices = args[:raw_indices] if args.key?(:raw_indices) @rice_indices = args[:rice_indices] if args.key?(:rice_indices) end |