Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse

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) ⇒ GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse

Returns a new instance of GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse.



234
235
236
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 234

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

Instance Attribute Details

#list_update_responsesArray<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse>

The list updates requested by the clients. The number of responses here may be less than the number of requests sent by clients. This is the case, for example, if the server has no updates for a particular list. Corresponds to the JSON property listUpdateResponses



226
227
228
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 226

def list_update_responses
  @list_update_responses
end

#minimum_wait_durationString

The minimum duration the client must wait before issuing any update request. If this field is not set clients may update as soon as they want. Corresponds to the JSON property minimumWaitDuration

Returns:

  • (String)


232
233
234
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 232

def minimum_wait_duration
  @minimum_wait_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



239
240
241
242
# File 'lib/google/apis/safebrowsing_v4/classes.rb', line 239

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