Class: Google::Apis::SafebrowsingV4::FetchThreatListUpdatesResponse

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

Returns a new instance of FetchThreatListUpdatesResponse



191
192
193
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 191

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

Instance Attribute Details

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

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



183
184
185
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 183

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)


189
190
191
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 189

def minimum_wait_duration
  @minimum_wait_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



196
197
198
199
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 196

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