Class: Google::Apis::ContainerV1::ControlPlaneEndpointsConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ControlPlaneEndpointsConfig
- 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
Configuration for all of the cluster's control plane endpoints.
Instance Attribute Summary collapse
-
#dns_endpoint_config ⇒ Google::Apis::ContainerV1::DnsEndpointConfig
Describes the configuration of a DNS endpoint.
-
#ip_endpoints_config ⇒ Google::Apis::ContainerV1::IpEndpointsConfig
IP endpoints configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ControlPlaneEndpointsConfig
constructor
A new instance of ControlPlaneEndpointsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ControlPlaneEndpointsConfig
Returns a new instance of ControlPlaneEndpointsConfig.
2220 2221 2222 |
# File 'lib/google/apis/container_v1/classes.rb', line 2220 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dns_endpoint_config ⇒ Google::Apis::ContainerV1::DnsEndpointConfig
Describes the configuration of a DNS endpoint.
Corresponds to the JSON property dnsEndpointConfig
2213 2214 2215 |
# File 'lib/google/apis/container_v1/classes.rb', line 2213 def dns_endpoint_config @dns_endpoint_config end |
#ip_endpoints_config ⇒ Google::Apis::ContainerV1::IpEndpointsConfig
IP endpoints configuration.
Corresponds to the JSON property ipEndpointsConfig
2218 2219 2220 |
# File 'lib/google/apis/container_v1/classes.rb', line 2218 def ip_endpoints_config @ip_endpoints_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2225 2226 2227 2228 |
# File 'lib/google/apis/container_v1/classes.rb', line 2225 def update!(**args) @dns_endpoint_config = args[:dns_endpoint_config] if args.key?(:dns_endpoint_config) @ip_endpoints_config = args[:ip_endpoints_config] if args.key?(:ip_endpoints_config) end |