Class: Google::Apis::DnsV1::ResponsePoliciesUpdateResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResponsePoliciesUpdateResponse

Returns a new instance of ResponsePoliciesUpdateResponse.



1799
1800
1801
# File 'lib/google/apis/dns_v1/classes.rb', line 1799

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#headerGoogle::Apis::DnsV1::ResponseHeader

Elements common to every response. Corresponds to the JSON property header



1791
1792
1793
# File 'lib/google/apis/dns_v1/classes.rb', line 1791

def header
  @header
end

#response_policyGoogle::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



1797
1798
1799
# File 'lib/google/apis/dns_v1/classes.rb', line 1797

def response_policy
  @response_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1804
1805
1806
1807
# File 'lib/google/apis/dns_v1/classes.rb', line 1804

def update!(**args)
  @header = args[:header] if args.key?(:header)
  @response_policy = args[:response_policy] if args.key?(:response_policy)
end