Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FindThreatMatchesResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4FindThreatMatchesResponse

Returns a new instance of GoogleSecuritySafebrowsingV4FindThreatMatchesResponse.



416
417
418
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 416

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

Instance Attribute Details

#matchesArray<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatMatch>

The threat list matches. Corresponds to the JSON property matches



414
415
416
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 414

def matches
  @matches
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



421
422
423
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 421

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