Show / Hide Table of Contents

Class ThreatListUpdateConstraints

Threat List Update Constraints.

Inheritance
System.Object
ThreatListUpdateConstraints
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Gee.External.Browsing.Clients
Assembly: Gee.External.Browsing.dll
Syntax
public sealed class ThreatListUpdateConstraints

Fields

Default

Default Threat List Update Constraints.

Declaration
public static readonly ThreatListUpdateConstraints Default
Field Value
Type
ThreatListUpdateConstraints

Properties

ClientLocation

Get Client Location.

Declaration
public string ClientLocation { get; }
Property Value
Type
System.String
Remarks

Represents the geographic location, formatted as an ISO 31166-1 alpha-2 region code, of a client. An invalid geographic location is ignored by the Google Safe Browsing API. A null reference indicates the geographic location of the client is unknown.

MaximumDatabaseEntries

Get Maximum Database Entries.

Declaration
public int MaximumDatabaseEntries { get; }
Property Value
Type
System.Int32
Remarks

Represents the maximum number of threats associated with a ThreatList a client is willing, or is capable, of storing in its local IManagedBrowsingDatabase. A 0 indicates there is no limit to the number of threats the client is willing to store.

MaximumResponseEntries

Get Maximum Response Entries.

Declaration
public int MaximumResponseEntries { get; }
Property Value
Type
System.Int32
Remarks

Represents the maximum number of threats associated with a ThreatList that will be retrieved in a single request. A 0 indicates there is no limit to the number of threats that will be retrieved.

ThreatListLanguage

Get Threat List Language.

Declaration
public string ThreatListLanguage { get; }
Property Value
Type
System.String
Remarks

Represents the language, formatted as an ISO 639 alpha-2 language code, a ThreatList should be retrieved for. An invalid language is ignored by the Google Safe Browsing API. A null reference indicates a language should not be considered.

ThreatListLocation

Get Threat List Location.

Declaration
public string ThreatListLocation { get; }
Property Value
Type
System.String
Remarks

Represents the geographic location, formatted as an ISO 31166-1 alpha-2 region code, a ThreatList should be retrieved for. An invalid geographic location is ignored by the Google Safe Browsing API. A null reference indicates a geographic location should not be considered.

Methods

Build()

Build a Threat List Update Constraints.

Declaration
public static ThreatListUpdateConstraintsBuilder Build()
Returns
Type Description
ThreatListUpdateConstraintsBuilder

A ThreatListUpdateConstraintsBuilder to build a threat list update constraints with.

Back to top Generated by DocFX