Class ThreatListUpdateResponse
Threat List Update Response.
Inheritance
Inherited Members
Namespace: Gee.External.Browsing.Clients
Assembly: Gee.External.Browsing.dll
Syntax
public sealed class ThreatListUpdateResponse
Constructors
ThreatListUpdateResponse(ThreatListUpdateRequest)
Create a Threat List Update Response.
Declaration
public ThreatListUpdateResponse(ThreatListUpdateRequest request)
Parameters
Type | Name | Description |
---|---|---|
ThreatListUpdateRequest | request | The ThreatListUpdateRequest made to the Google Safe Browsing API for which the threat list update response has been returned. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if |
ThreatListUpdateResponse(ThreatListUpdateRequest, IEnumerable<ThreatListUpdateResult>)
Create a Threat List Update Response.
Declaration
public ThreatListUpdateResponse(ThreatListUpdateRequest request, IEnumerable<ThreatListUpdateResult> results)
Parameters
Type | Name | Description |
---|---|---|
ThreatListUpdateRequest | request | The ThreatListUpdateRequest made to the Google Safe Browsing API for which the threat list update response has been returned. |
System.Collections.Generic.IEnumerable<ThreatListUpdateResult> | results | A collection of ThreatListUpdateResult indicating the collection of retrieved ThreatList and the threats associated with them that should be added to and removed from the locally stored copies of the threat lists. A null reference or an empty collection indicates no threat lists were retrieved. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if |
Properties
Request
Get Request.
Declaration
public ThreatListUpdateRequest Request { get; }
Property Value
Type |
---|
ThreatListUpdateRequest |
Remarks
Represents the ThreatListUpdateRequest made to the Google Safe Browsing API for which the threat list update response has been returned.
Results
Get Results.
Declaration
public IReadOnlyCollection<ThreatListUpdateResult> Results { get; }
Property Value
Type |
---|
System.Collections.Generic.IReadOnlyCollection<ThreatListUpdateResult> |
Remarks
Represents a collection of ThreatListUpdateResult indicating the collection of retrieved ThreatList and the threats associated with them that should be added to and removed from the locally stored copies of the threat lists. An empty collection indicates no threat lists were retrieved.
Methods
Build()
Build a Threat List Update Response.
Declaration
public static ThreatListUpdateResponseBuilder Build()
Returns
Type | Description |
---|---|
ThreatListUpdateResponseBuilder | A ThreatListUpdateResponseBuilder to build a threat list update response with. |