class Google::Apis::DnsV1::PoliciesPatchResponse

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 1537
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 1542
def update!(**args)
  @header = args[:header] if args.key?(:header)
  @policy = args[:policy] if args.key?(:policy)
end