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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4FindThreatMatchesResponse

Returns a new instance of GoogleSecuritySafebrowsingV4FindThreatMatchesResponse.



413
414
415
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 413

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

Instance Attribute Details

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

The threat list matches. Corresponds to the JSON property matches



411
412
413
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 411

def matches
  @matches
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



418
419
420
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 418

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