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.
Returns
Type
Description
bool
setDisabled
Whether NetworkPolicy is enabled for this cluster.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]