google_api_safe_browsing v0.4.0 GoogleApi.SafeBrowsing.V4.Model.Constraints View Source

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. 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.SafeBrowsing.V4.Model.Constraints{
  deviceLocation: String.t(),
  language: String.t(),
  maxDatabaseEntries: integer(),
  maxUpdateEntries: integer(),
  region: String.t(),
  supportedCompressions: [String.t()]
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.