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-04-09 UTC."],[[["The latest version of the `NetworkPolicyConfig` class is 3.33.0, with the documentation providing a list of versions ranging from 3.33.0 down to 2.3.0, each with its own specific documentation link."],["`NetworkPolicyConfig` is part of the Google Kubernetes Engine v1 API and is used to configure NetworkPolicy settings, specifically tracking whether the addon is enabled on the Master."],["The `NetworkPolicyConfig` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has a boolean property called `Disabled` which indicates if NetworkPolicy is enabled for a particular cluster."],["There are two constructors, one that is empty, and one that takes another `NetworkPolicyConfig` class as a parameter, to be used as a duplicate of another."]]],[]]