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

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
bool

setEnabled

Whether NodeLocal DNSCache is enabled for this cluster.

Parameter
Name Description
var bool
Returns
Type Description
$this