class Google::Apis::DnsV1::PolicyAlternativeNameServerConfig
Attributes
kind[RW]
Corresponds to the JSON property `kind` @return [String]
target_name_servers[RW]
Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as . internal are not available when an alternative name server is specified. Corresponds to the JSON property `targetNameServers` @return [Array<Google::Apis::DnsV1::PolicyAlternativeNameServerConfigTargetNameServer>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dns_v1/classes.rb, line 1660 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 1665 def update!(**args) @kind = args[:kind] if args.key?(:kind) @target_name_servers = args[:target_name_servers] if args.key?(:target_name_servers) end