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

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

Returns a new instance of GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse.



230
231
232
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 230

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

Instance Attribute Details

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

The list updates requested by the clients. Corresponds to the JSON property listUpdateResponses



222
223
224
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 222

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)


228
229
230
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 228

def minimum_wait_duration
  @minimum_wait_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



235
236
237
238
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 235

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