Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::ControlPlaneEndpointsConfig::DNSEndpointConfig (v1.3.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::ControlPlaneEndpointsConfig::DNSEndpointConfig.

Describes the configuration of a DNS endpoint.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_external_traffic

def allow_external_traffic() -> ::Boolean
Returns
  • (::Boolean) — Controls whether user traffic is allowed over this endpoint. Note that GCP-managed services may still use the endpoint even if this is false.

#allow_external_traffic=

def allow_external_traffic=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Controls whether user traffic is allowed over this endpoint. Note that GCP-managed services may still use the endpoint even if this is false.
Returns
  • (::Boolean) — Controls whether user traffic is allowed over this endpoint. Note that GCP-managed services may still use the endpoint even if this is false.

#endpoint

def endpoint() -> ::String
Returns
  • (::String) — Output only. The cluster's DNS endpoint configuration. A DNS format address. This is accessible from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may change according to the value of DNSEndpointConfig.allow_external_traffic.