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

The constraints for this update.

Attributes

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

    • Enum - one of

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: any(),
  language: any(),
  maxDatabaseEntries: any(),
  maxUpdateEntries: any(),
  region: any(),
  supportedCompressions: [any()]
}

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.