Show / Hide Table of Contents

Class Constraints

The constraints for this update.

Inheritance
System.Object
Constraints
Implements
Google.Apis.Requests.IDirectResponseSchema
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: Google.Apis.Safebrowsing.v4.Data
Assembly: Google.Apis.Safebrowsing.v4.dll
Syntax
public class Constraints : IDirectResponseSchema

Properties

DeviceLocation

A client's physical location, expressed as a ISO 31166-1 alpha-2 region code.

Declaration
[JsonProperty("deviceLocation")]
public virtual string DeviceLocation { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Language

Requests the lists for a specific language. Expects ISO 639 alpha-2 format.

Declaration
[JsonProperty("language")]
public virtual string Language { get; set; }
Property Value
Type Description
System.String

MaxDatabaseEntries

Sets the maximum number of entries that the client is willing to have in the local database for the specified list. This should be a power of 2 between 210 and 220. If zero, no database size limit is set.

Declaration
[JsonProperty("maxDatabaseEntries")]
public virtual int? MaxDatabaseEntries { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

MaxUpdateEntries

The maximum size in number of entries. The update will not contain more entries than this value. This should be a power of 2 between 210 and 220. If zero, no update size limit is set.

Declaration
[JsonProperty("maxUpdateEntries")]
public virtual int? MaxUpdateEntries { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Region

Requests the list for a specific geographic location. If not set the server may pick that value based on the user's IP address. Expects ISO 3166-1 alpha-2 format.

Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
Type Description
System.String

SupportedCompressions

The compression types supported by the client.

Declaration
[JsonProperty("supportedCompressions")]
public virtual IList<string> SupportedCompressions { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Implements

Google.Apis.Requests.IDirectResponseSchema
Back to top