public sealed class NetworkPolicyConfig : IMessage<NetworkPolicyConfig>, IEquatable<NetworkPolicyConfig>, IDeepCloneable<NetworkPolicyConfig>, IBufferMessage, IMessage
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eNetworkPolicyConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Container.V1\u003c/code\u003e namespace, specifically detailing its configuration for network policies.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eNetworkPolicyConfig\u003c/code\u003e documentation is 3.33.0, and a historical list of versions ranging from 2.3.0 to 3.33.0 are also accessible, each with its own versioned documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkPolicyConfig\u003c/code\u003e is used to track if the network policy addon is enabled on the Master, not on the nodes themselves, and it inherits from Object and implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe class features a constructor for creating new instances, along with a copy constructor, and the \u003ccode\u003eDisabled\u003c/code\u003e property is a boolean that indicates whether NetworkPolicy is enabled for the cluster.\u003c/p\u003e\n"]]],[],null,[]]