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.



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

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



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

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)


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

def minimum_wait_duration
  @minimum_wait_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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