View Source GoogleApi.DNS.V1.Model.RRSetRoutingPolicyGeoPolicy (google_api_dns v0.29.0)

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.
  • items (type: list(GoogleApi.DNS.V1.Model.RRSetRoutingPolicyGeoPolicyGeoPolicyItem.t), default: nil) - The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
  • kind (type: String.t, default: dns#rRSetRoutingPolicyGeoPolicy) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DNS.V1.Model.RRSetRoutingPolicyGeoPolicy{
  enableFencing: boolean() | nil,
  items:
    [GoogleApi.DNS.V1.Model.RRSetRoutingPolicyGeoPolicyGeoPolicyItem.t()] | nil,
  kind: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.