Reference documentation and code samples for the Google Cloud Container V1 Client class DNSEndpointConfig.
Describes the configuration of a DNS endpoint.
Generated from protobuf message google.container.v1.ControlPlaneEndpointsConfig.DNSEndpointConfig
Namespace
Google \ Cloud \ Container \ V1 \ ControlPlaneEndpointsConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ endpoint |
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. |
↳ allow_external_traffic |
bool
Controls whether user traffic is allowed over this endpoint. Note that GCP-managed services may still use the endpoint even if this is false. |
getEndpoint
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.
Returns | |
---|---|
Type | Description |
string |
setEndpoint
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAllowExternalTraffic
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 | |
---|---|
Type | Description |
bool |
hasAllowExternalTraffic
clearAllowExternalTraffic
setAllowExternalTraffic
Controls whether user traffic is allowed over this endpoint. Note that GCP-managed services may still use the endpoint even if this is false.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |