View Source GoogleApi.Domains.V1beta1.Model.WrrPolicyItem (google_api_domains v0.12.2)

A routing block which contains the routing information for one WRR item.

Attributes

  • healthCheckedTargets (type: GoogleApi.Domains.V1beta1.Model.HealthCheckTargets.t, default: nil) - Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set.
  • rrdata (type: list(String.t), default: nil) -
  • signatureRrdata (type: list(String.t), default: nil) - DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.
  • weight (type: float(), default: nil) - The weight corresponding to this WrrPolicyItem object. When multiple WrrPolicyItem objects are configured, the probability of returning an WrrPolicyItem object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Domains.V1beta1.Model.WrrPolicyItem{
  healthCheckedTargets:
    GoogleApi.Domains.V1beta1.Model.HealthCheckTargets.t() | nil,
  rrdata: [String.t()] | nil,
  signatureRrdata: [String.t()] | nil,
  weight: float() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.