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



158
159
160
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 158

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



150
151
152
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 150

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)


156
157
158
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 156

def minimum_wait_duration
  @minimum_wait_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



163
164
165
166
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 163

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