Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::NetworkPolicyConfig (v0.21.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#disabled

def disabled() -> ::Boolean
Returns
  • (::Boolean) — Whether NetworkPolicy is enabled for this cluster.

#disabled=

def disabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether NetworkPolicy is enabled for this cluster.
Returns
  • (::Boolean) — Whether NetworkPolicy is enabled for this cluster.