View Source GoogleApi.Domains.V1alpha2.Model.GeoPolicy (google_api_domains v0.12.2)

Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.

Attributes

  • enableFencing (type: boolean(), default: nil) - Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
  • item (type: list(GoogleApi.Domains.V1alpha2.Model.GeoPolicyItem.t), default: nil) - The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Domains.V1alpha2.Model.GeoPolicy{
  enableFencing: boolean() | nil,
  item: [GoogleApi.Domains.V1alpha2.Model.GeoPolicyItem.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.