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.
Generated from protobuf field .google.container.v1.DNSConfig.Provider cluster_dns = 1;
Returns | |
---|---|
Type | Description |
int |
setClusterDns
cluster_dns indicates which in-cluster DNS provider should be used.
Generated from protobuf field .google.container.v1.DNSConfig.Provider cluster_dns = 1;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getClusterDnsScope
cluster_dns_scope indicates the scope of access to cluster DNS records.
Generated from protobuf field .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2;
Returns | |
---|---|
Type | Description |
int |
setClusterDnsScope
cluster_dns_scope indicates the scope of access to cluster DNS records.
Generated from protobuf field .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getClusterDnsDomain
cluster_dns_domain is the suffix used for all cluster service records.
Generated from protobuf field string cluster_dns_domain = 3;
Returns | |
---|---|
Type | Description |
string |
setClusterDnsDomain
cluster_dns_domain is the suffix used for all cluster service records.
Generated from protobuf field string cluster_dns_domain = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |