Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntryMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntryMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/safebrowsing_v4/classes.rb,
lib/google/apis/safebrowsing_v4/representations.rb,
lib/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::GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry>
The metadata entries.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4ThreatEntryMetadata
constructor
A new instance of GoogleSecuritySafebrowsingV4ThreatEntryMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4ThreatEntryMetadata
Returns a new instance of GoogleSecuritySafebrowsingV4ThreatEntryMetadata.
587 588 589 |
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 587 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entries ⇒ Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry>
The metadata entries.
Corresponds to the JSON property entries
585 586 587 |
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 585 def entries @entries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
592 593 594 |
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 592 def update!(**args) @entries = args[:entries] if args.key?(:entries) end |