class Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem
A routing block which contains the routing information for one WRR item.
Attributes
HealthCheckTargets describes endpoints to health-check when responding to Routing Policy
queries. Only the healthy endpoints will be included in the response. Corresponds to the JSON property `healthCheckedTargets` @return [Google::Apis::DnsV1::RrSetRoutingPolicyHealthCheckTargets]
Corresponds to the JSON property `kind` @return [String]
Corresponds to the JSON property `rrdatas` @return [Array<String>]
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 per item. . Corresponds to the JSON property `signatureRrdatas` @return [Array<String>]
The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative. Corresponds to the JSON property `weight` @return [Float]
Public Class Methods
# File lib/google/apis/dns_v1/classes.rb, line 2252 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dns_v1/classes.rb, line 2257 def update!(**args) @health_checked_targets = args[:health_checked_targets] if args.key?(:health_checked_targets) @kind = args[:kind] if args.key?(:kind) @rrdatas = args[:rrdatas] if args.key?(:rrdatas) @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas) @weight = args[:weight] if args.key?(:weight) end