public sealed class NetworkPolicyConfig : IMessage<NetworkPolicyConfig>, IEquatable<NetworkPolicyConfig>, IDeepCloneable<NetworkPolicyConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API 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.
[[["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 2025-03-21 UTC."],[[["The latest version of the `NetworkPolicyConfig` API class is 3.33.0, and the current page is displaying version 3.15.0."],["This page provides reference documentation and code samples for the `NetworkPolicyConfig` class within the Google Kubernetes Engine v1 API."],["`NetworkPolicyConfig` is used to configure whether the network policy add-on is enabled on the master, but does not reflect network policy enablement for nodes."],["The `NetworkPolicyConfig` class inherits from `object` and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces."],["The class has a `Disabled` property which is a boolean value that is used to indicate if the `NetworkPolicy` is enabled for the cluster."]]],[]]