Class: Google::Apis::ContainerV1::DnsConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::DnsConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
DNSConfig contains the desired set of options for configuring clusterDNS.
Instance Attribute Summary collapse
-
#cluster_dns ⇒ String
cluster_dns indicates which in-cluster DNS provider should be used.
-
#cluster_dns_domain ⇒ String
cluster_dns_domain is the suffix used for all cluster service records.
-
#cluster_dns_scope ⇒ String
cluster_dns_scope indicates the scope of access to cluster DNS records.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DnsConfig
constructor
A new instance of DnsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DnsConfig
Returns a new instance of DnsConfig.
1677 1678 1679 |
# File 'lib/google/apis/container_v1/classes.rb', line 1677 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_dns ⇒ String
cluster_dns indicates which in-cluster DNS provider should be used.
Corresponds to the JSON property clusterDns
1665 1666 1667 |
# File 'lib/google/apis/container_v1/classes.rb', line 1665 def cluster_dns @cluster_dns end |
#cluster_dns_domain ⇒ String
cluster_dns_domain is the suffix used for all cluster service records.
Corresponds to the JSON property clusterDnsDomain
1670 1671 1672 |
# File 'lib/google/apis/container_v1/classes.rb', line 1670 def cluster_dns_domain @cluster_dns_domain end |
#cluster_dns_scope ⇒ String
cluster_dns_scope indicates the scope of access to cluster DNS records.
Corresponds to the JSON property clusterDnsScope
1675 1676 1677 |
# File 'lib/google/apis/container_v1/classes.rb', line 1675 def cluster_dns_scope @cluster_dns_scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1682 1683 1684 1685 1686 |
# File 'lib/google/apis/container_v1/classes.rb', line 1682 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 |