class Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem
Attributes
kind[RW]
Corresponds to the JSON property `kind` @return [String]
rrdatas[RW]
Corresponds to the JSON property `rrdatas` @return [Array<String>]
signature_rrdatas[RW]
DNSSEC generated signatures for the above wrr_rrdata. Corresponds to the JSON property `signatureRrdatas` @return [Array<String>]
weight[RW]
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
new(**args)
click to toggle source
# File lib/google/apis/dns_v1beta2/classes.rb, line 1626 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dns_v1beta2/classes.rb, line 1631 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