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 available for `NetworkPolicyConfig` is 3.33.0, but version 3.18.0 is the current focus of the document."],["This document provides reference information and code samples for the `NetworkPolicyConfig` class within the Google Kubernetes Engine v1 API."],["The `NetworkPolicyConfig` class is used to manage whether network policies are enabled on the master of a cluster."],["The NetworkPolicyConfig class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `NetworkPolicyConfig` class offers a `Disabled` property that controls whether network policies are enabled on a given cluster, as well as two constructors."]]],[]]