class Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget

Attributes

forwarding_path[RW]

Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. Corresponds to the JSON property `forwardingPath` @return [String]

ipv4_address[RW]

IPv4 address of a target name server. Corresponds to the JSON property `ipv4Address` @return [String]

kind[RW]

Corresponds to the JSON property `kind` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dns_v1/classes.rb, line 1027
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 1032
def update!(**args)
  @forwarding_path = args[:forwarding_path] if args.key?(:forwarding_path)
  @ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
  @kind = args[:kind] if args.key?(:kind)
end