Class: Google::Apis::SafebrowsingV4::ThreatEntryMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SafebrowsingV4::ThreatEntryMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/safebrowsing_v4/classes.rb,
generated/google/apis/safebrowsing_v4/representations.rb,
generated/google/apis/safebrowsing_v4/representations.rb
Overview
The metadata associated with a specific threat entry. The client is expected to know the metadata key/value pairs associated with each threat type.
Instance Attribute Summary collapse
-
#entries ⇒ Array<Google::Apis::SafebrowsingV4::MetadataEntry>
The metadata entries.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ThreatEntryMetadata
constructor
A new instance of ThreatEntryMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ThreatEntryMetadata
Returns a new instance of ThreatEntryMetadata
620 621 622 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 620 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entries ⇒ Array<Google::Apis::SafebrowsingV4::MetadataEntry>
The metadata entries.
Corresponds to the JSON property entries
618 619 620 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 618 def entries @entries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
625 626 627 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 625 def update!(**args) @entries = args[:entries] if args.key?(:entries) end |