Google Cloud Container V1 Client - Class DNSConfig (1.14.0)

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
NameDescription
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
TypeDescription
int

setClusterDns

cluster_dns indicates which in-cluster DNS provider should be used.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getClusterDnsScope

cluster_dns_scope indicates the scope of access to cluster DNS records.

Returns
TypeDescription
int

setClusterDnsScope

cluster_dns_scope indicates the scope of access to cluster DNS records.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getClusterDnsDomain

cluster_dns_domain is the suffix used for all cluster service records.

Returns
TypeDescription
string

setClusterDnsDomain

cluster_dns_domain is the suffix used for all cluster service records.

Parameter
NameDescription
var string
Returns
TypeDescription
$this