Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntryMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4ThreatEntryMetadata

Returns a new instance of GoogleSecuritySafebrowsingV4ThreatEntryMetadata.



584
585
586
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 584

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

Instance Attribute Details

#entriesArray<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry>

The metadata entries. Corresponds to the JSON property entries



582
583
584
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 582

def entries
  @entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



589
590
591
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 589

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