Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest
- Inherits:
-
Object
- Object
- Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest
- 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
Overview
A single list update request.
Instance Attribute Summary collapse
-
#constraints ⇒ Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints
The constraints for this update.
-
#platform_type ⇒ String
The type of platform at risk by entries present in the list.
-
#state ⇒ String
The current state of the client for the requested list (the encrypted client state that was received from the last successful list update).
-
#threat_entry_type ⇒ String
The types of entries present in the list.
-
#threat_type ⇒ String
The type of threat posed by entries present in the list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest
constructor
A new instance of GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest
Returns a new instance of GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest.
146 147 148 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 146 def initialize(**args) update!(**args) end |
Instance Attribute Details
#constraints ⇒ Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints
The constraints for this update.
Corresponds to the JSON property constraints
122 123 124 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 122 def constraints @constraints end |
#platform_type ⇒ String
The type of platform at risk by entries present in the list.
Corresponds to the JSON property platformType
127 128 129 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 127 def platform_type @platform_type end |
#state ⇒ String
The current state of the client for the requested list (the encrypted client
state that was received from the last successful list update).
Corresponds to the JSON property state
NOTE: Values are automatically base64 encoded/decoded in the client library.
134 135 136 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 134 def state @state end |
#threat_entry_type ⇒ String
The types of entries present in the list.
Corresponds to the JSON property threatEntryType
139 140 141 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 139 def threat_entry_type @threat_entry_type end |
#threat_type ⇒ String
The type of threat posed by entries present in the list.
Corresponds to the JSON property threatType
144 145 146 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 144 def threat_type @threat_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
151 152 153 154 155 156 157 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 151 def update!(**args) @constraints = args[:constraints] if args.key?(:constraints) @platform_type = args[:platform_type] if args.key?(:platform_type) @state = args[:state] if args.key?(:state) @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type) @threat_type = args[:threat_type] if args.key?(:threat_type) end |