Google Cloud Container V1 Client - Class DnsCacheConfig (1.13.1)

Reference documentation and code samples for the Google Cloud Container V1 Client class DnsCacheConfig.

Configuration for NodeLocal DNSCache

Generated from protobuf message google.container.v1.DnsCacheConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enabled bool

Whether NodeLocal DNSCache is enabled for this cluster.

getEnabled

Whether NodeLocal DNSCache is enabled for this cluster.

Returns
TypeDescription
bool

setEnabled

Whether NodeLocal DNSCache is enabled for this cluster.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this