View Source GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints (google_api_safe_browsing v0.25.0)

The constraints for this update.

Attributes

  • deviceLocation (type: String.t, default: nil) - A client's physical location, expressed as a ISO 31166-1 alpha-2 region code.
  • language (type: String.t, default: nil) - Requests the lists for a specific language. Expects ISO 639 alpha-2 format.
  • maxDatabaseEntries (type: integer(), default: nil) - 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.
  • maxUpdateEntries (type: integer(), default: nil) - 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.
  • region (type: String.t, default: nil) - 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.
  • supportedCompressions (type: list(String.t), default: nil) - The compression types supported by the client.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints{
    deviceLocation: String.t() | nil,
    language: String.t() | nil,
    maxDatabaseEntries: integer() | nil,
    maxUpdateEntries: integer() | nil,
    region: String.t() | nil,
    supportedCompressions: [String.t()] | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.