class Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem
A routing block which contains the routing information for one WRR item.
Attributes
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 2051 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dns_v1/classes.rb, line 2056 def update!(**args) @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