Google Cloud Container V1 Client - Class DnsCacheConfig (1.9.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.

Generated from protobuf field bool enabled = 1;

Returns
TypeDescription
bool

setEnabled

Whether NodeLocal DNSCache is enabled for this cluster.

Generated from protobuf field bool enabled = 1;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this