Reference documentation and code samples for the Google Cloud Container V1 Client class DNSConfig.
DNSConfig contains the desired set of options for configuring clusterDNS.
Generated from protobuf message google.container.v1.DNSConfig
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cluster_dns |
int
cluster_dns indicates which in-cluster DNS provider should be used. |
↳ cluster_dns_scope |
int
cluster_dns_scope indicates the scope of access to cluster DNS records. |
↳ cluster_dns_domain |
string
cluster_dns_domain is the suffix used for all cluster service records. |
getClusterDns
cluster_dns indicates which in-cluster DNS provider should be used.
Returns | |
---|---|
Type | Description |
int |
setClusterDns
cluster_dns indicates which in-cluster DNS provider should be used.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getClusterDnsScope
cluster_dns_scope indicates the scope of access to cluster DNS records.
Returns | |
---|---|
Type | Description |
int |
setClusterDnsScope
cluster_dns_scope indicates the scope of access to cluster DNS records.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getClusterDnsDomain
cluster_dns_domain is the suffix used for all cluster service records.
Returns | |
---|---|
Type | Description |
string |
setClusterDnsDomain
cluster_dns_domain is the suffix used for all cluster service records.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |