Class: Google::Apis::DnsV1::ResponsePoliciesPatchResponse
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1::ResponsePoliciesPatchResponse
- 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
-
#response_policy ⇒ Google::Apis::DnsV1::ResponsePolicy
A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResponsePoliciesPatchResponse
constructor
A new instance of ResponsePoliciesPatchResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResponsePoliciesPatchResponse
Returns a new instance of ResponsePoliciesPatchResponse.
2426 2427 2428 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2426 def initialize(**args) update!(**args) end |
Instance Attribute Details
#response_policy ⇒ Google::Apis::DnsV1::ResponsePolicy
A Response Policy is a collection of selectors that apply to queries made
against one or more Virtual Private Cloud networks.
Corresponds to the JSON property responsePolicy
2424 2425 2426 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2424 def response_policy @response_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2431 2432 2433 |
# File 'lib/google/apis/dns_v1/classes.rb', line 2431 def update!(**args) @response_policy = args[:response_policy] if args.key?(:response_policy) end |