Class: Google::Apis::DnsV1beta2::ResponsePoliciesPatchResponse

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResponsePoliciesPatchResponse

Returns a new instance of ResponsePoliciesPatchResponse.



1562
1563
1564
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1562

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

Instance Attribute Details

#headerGoogle::Apis::DnsV1beta2::ResponseHeader

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



1554
1555
1556
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1554

def header
  @header
end

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



1560
1561
1562
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1560

def response_policy
  @response_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1567
1568
1569
1570
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1567

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