Class: Google::Apis::DnsV1::ResponsePolicyRulesPatchResponse
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1::ResponsePolicyRulesPatchResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dns_v1/classes.rb,
lib/google/apis/dns_v1/representations.rb,
lib/google/apis/dns_v1/representations.rb
Instance Attribute Summary collapse
-
#header ⇒ Google::Apis::DnsV1::ResponseHeader
Elements common to every response.
-
#response_policy_rule ⇒ Google::Apis::DnsV1::ResponsePolicyRule
A Response Policy Rule is a selector that applies its behavior to queries that match the selector.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResponsePolicyRulesPatchResponse
constructor
A new instance of ResponsePolicyRulesPatchResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResponsePolicyRulesPatchResponse
Returns a new instance of ResponsePolicyRulesPatchResponse.
2008 2009 2010 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2008 def initialize(**args) update!(**args) end |
Instance Attribute Details
#header ⇒ Google::Apis::DnsV1::ResponseHeader
Elements common to every response.
Corresponds to the JSON property header
1997 1998 1999 |
# File 'lib/google/apis/dns_v1/classes.rb', line 1997 def header @header end |
#response_policy_rule ⇒ Google::Apis::DnsV1::ResponsePolicyRule
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
2006 2007 2008 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2006 def response_policy_rule @response_policy_rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2013 2014 2015 2016 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2013 def update!(**args) @header = args[:header] if args.key?(:header) @response_policy_rule = args[:response_policy_rule] if args.key?(:response_policy_rule) end |