Class: Google::Apis::DnsV1::ManagedZoneForwardingConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dns_v1/classes.rb,
generated/google/apis/dns_v1/representations.rb,
generated/google/apis/dns_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedZoneForwardingConfig

Returns a new instance of ManagedZoneForwardingConfig.



523
524
525
# File 'generated/google/apis/dns_v1/classes.rb', line 523

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


515
516
517
# File 'generated/google/apis/dns_v1/classes.rb', line 515

def kind
  @kind
end

#target_name_serversArray<Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget>

List of target name servers to forward to. Cloud DNS will select the best available name server if more than one target is given. Corresponds to the JSON property targetNameServers



521
522
523
# File 'generated/google/apis/dns_v1/classes.rb', line 521

def target_name_servers
  @target_name_servers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



528
529
530
531
# File 'generated/google/apis/dns_v1/classes.rb', line 528

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