Google Cloud Container V1 Client - Class DNSConfig (2.3.4)

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

Namespace

Google \ Cloud \ Container \ V1

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.

↳ additive_vpc_scope_dns_domain
string

Optional. The domain used in Additive VPC scope.

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

getAdditiveVpcScopeDnsDomain

Optional. The domain used in Additive VPC scope.

Returns
Type
Description
string

setAdditiveVpcScopeDnsDomain

Optional. The domain used in Additive VPC scope.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: