class Google::Apis::DnsV1::PoliciesUpdateResponse
Attributes
header[RW]
Elements common to every response. Corresponds to the JSON property `header` @return [Google::Apis::DnsV1::ResponseHeader]
policy[RW]
A policy is a collection of DNS rules applied to one or more Virtual Private Cloud resources. Corresponds to the JSON property `policy` @return [Google::Apis::DnsV1::Policy]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dns_v1/classes.rb, line 1563 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dns_v1/classes.rb, line 1568 def update!(**args) @header = args[:header] if args.key?(:header) @policy = args[:policy] if args.key?(:policy) end