Class: Google::Apis::SafebrowsingV4::FindThreatMatchesResponse

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FindThreatMatchesResponse

Returns a new instance of FindThreatMatchesResponse



309
310
311
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 309

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

Instance Attribute Details

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

The threat list matches. Corresponds to the JSON property matches



307
308
309
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 307

def matches
  @matches
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



314
315
316
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 314

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