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
-
#additive_vpc_scope_dns_domain ⇒ String
Optional.
-
#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.
2304 2305 2306 |
# File 'lib/google/apis/container_v1/classes.rb', line 2304 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additive_vpc_scope_dns_domain ⇒ String
Optional. The domain used in Additive VPC scope.
Corresponds to the JSON property additiveVpcScopeDnsDomain
2287 2288 2289 |
# File 'lib/google/apis/container_v1/classes.rb', line 2287 def additive_vpc_scope_dns_domain @additive_vpc_scope_dns_domain end |
#cluster_dns ⇒ String
cluster_dns indicates which in-cluster DNS provider should be used.
Corresponds to the JSON property clusterDns
2292 2293 2294 |
# File 'lib/google/apis/container_v1/classes.rb', line 2292 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
2297 2298 2299 |
# File 'lib/google/apis/container_v1/classes.rb', line 2297 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
2302 2303 2304 |
# File 'lib/google/apis/container_v1/classes.rb', line 2302 def cluster_dns_scope @cluster_dns_scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2309 2310 2311 2312 2313 2314 |
# File 'lib/google/apis/container_v1/classes.rb', line 2309 def update!(**args) @additive_vpc_scope_dns_domain = args[:additive_vpc_scope_dns_domain] if args.key?(:additive_vpc_scope_dns_domain) @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 |