class Google::Apis::DnsV1::ResponsePolicyRulesPatchResponse
Attributes
header[RW]
Elements common to every response. Corresponds to the JSON property `header` @return [Google::Apis::DnsV1::ResponseHeader]
response_policy_rule[RW]
A Response Policy
Rule is a selector that applies its behavior to queries that match the selector. Selectors are DNS names, which may be wildcards or exact matches. Each DNS query subject to a Response Policy
matches at most one ResponsePolicyRule
, as identified by the dns_name field with the longest matching suffix. Corresponds to the JSON property `responsePolicyRule` @return [Google::Apis::DnsV1::ResponsePolicyRule]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dns_v1/classes.rb, line 2732 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_v1/classes.rb, line 2737 def update!(**args) @header = args[:header] if args.key?(:header) @response_policy_rule = args[:response_policy_rule] if args.key?(:response_policy_rule) end