class Google::Apis::ContainerV1beta1::DnsConfig
DNSConfig contains the desired set of options for configuring clusterDNS.
Attributes
cluster_dns[RW]
cluster_dns
indicates which in-cluster DNS provider should be used. Corresponds to the JSON property `clusterDns` @return [String]
cluster_dns_domain[RW]
cluster_dns_domain
is the suffix used for all cluster service records. Corresponds to the JSON property `clusterDnsDomain` @return [String]
cluster_dns_scope[RW]
cluster_dns_scope
indicates the scope of access to cluster DNS records. Corresponds to the JSON property `clusterDnsScope` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 1591 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/container_v1beta1/classes.rb, line 1596 def update!(**args) @cluster_dns = args[:cluster_dns] if args.key?(:cluster_dns) @cluster_dns_domain = args[:cluster_dns_domain] if args.key?(:cluster_dns_domain) @cluster_dns_scope = args[:cluster_dns_scope] if args.key?(:cluster_dns_scope) end