Class: Google::Apis::ContainerV1beta1::DnsConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::DnsConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/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.
1873 1874 1875 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 1873 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
1861 1862 1863 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 1861 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
1866 1867 1868 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 1866 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
1871 1872 1873 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 1871 def cluster_dns_scope @cluster_dns_scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1878 1879 1880 1881 1882 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 1878 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 |