Reference documentation and code samples for the Google Cloud Container V1 Client class NetworkPolicyConfig.
Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
Generated from protobuf message google.container.v1.NetworkPolicyConfig
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ disabled |
bool
Whether NetworkPolicy is enabled for this cluster. |
getDisabled
Whether NetworkPolicy is enabled for this cluster.
Generated from protobuf field bool disabled = 1;
Returns | |
---|---|
Type | Description |
bool |
setDisabled
Whether NetworkPolicy is enabled for this cluster.
Generated from protobuf field bool disabled = 1;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |