Class: Google::Apis::DnsV1beta2::ResponsePoliciesUpdateResponse
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::ResponsePoliciesUpdateResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dns_v1beta2/classes.rb,
lib/google/apis/dns_v1beta2/representations.rb,
lib/google/apis/dns_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#header ⇒ Google::Apis::DnsV1beta2::ResponseHeader
Elements common to every response.
-
#response_policy ⇒ Google::Apis::DnsV1beta2::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) ⇒ ResponsePoliciesUpdateResponse
constructor
A new instance of ResponsePoliciesUpdateResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResponsePoliciesUpdateResponse
Returns a new instance of ResponsePoliciesUpdateResponse.
1590 1591 1592 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1590 def initialize(**args) update!(**args) end |
Instance Attribute Details
#header ⇒ Google::Apis::DnsV1beta2::ResponseHeader
Elements common to every response.
Corresponds to the JSON property header
1582 1583 1584 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1582 def header @header end |
#response_policy ⇒ Google::Apis::DnsV1beta2::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
1588 1589 1590 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1588 def response_policy @response_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1595 1596 1597 1598 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1595 def update!(**args) @header = args[:header] if args.key?(:header) @response_policy = args[:response_policy] if args.key?(:response_policy) end |