Class: Google::Apis::SafebrowsingV4::FindFullHashesResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SafebrowsingV4::FindFullHashesResponse
 
- 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
- 
  
    
      #matches  ⇒ Array<Google::Apis::SafebrowsingV4::ThreatMatch> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The full hashes that matched the requested prefixes. 
- 
  
    
      #minimum_wait_duration  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The minimum duration the client must wait before issuing any find hashes request. 
- 
  
    
      #negative_cache_duration  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    For requested entities that did not match the threat list, how long to cache the response. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FindFullHashesResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of FindFullHashesResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FindFullHashesResponse
Returns a new instance of FindFullHashesResponse
| 262 263 264 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 262 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#matches ⇒ Array<Google::Apis::SafebrowsingV4::ThreatMatch>
The full hashes that matched the requested prefixes.
Corresponds to the JSON property matches
| 247 248 249 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 247 def matches @matches end | 
#minimum_wait_duration ⇒ String
The minimum duration the client must wait before issuing any find hashes
request. If this field is not set, clients can issue a request as soon as
they want.
Corresponds to the JSON property minimumWaitDuration
| 254 255 256 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 254 def minimum_wait_duration @minimum_wait_duration end | 
#negative_cache_duration ⇒ String
For requested entities that did not match the threat list, how long to
cache the response.
Corresponds to the JSON property negativeCacheDuration
| 260 261 262 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 260 def negative_cache_duration @negative_cache_duration end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 267 268 269 270 271 | # File 'generated/google/apis/safebrowsing_v4/classes.rb', line 267 def update!(**args) @matches = args[:matches] if args.key?(:matches) @minimum_wait_duration = args[:minimum_wait_duration] if args.key?(:minimum_wait_duration) @negative_cache_duration = args[:negative_cache_duration] if args.key?(:negative_cache_duration) end |