Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::NetworkPolicy (v0.32.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::NetworkPolicy.

Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enabled

def enabled() -> ::Boolean
Returns
  • (::Boolean) — Whether network policy is enabled on the cluster.

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether network policy is enabled on the cluster.
Returns
  • (::Boolean) — Whether network policy is enabled on the cluster.

#provider

def provider() -> ::Google::Cloud::Container::V1beta1::NetworkPolicy::Provider
Returns

#provider=

def provider=(value) -> ::Google::Cloud::Container::V1beta1::NetworkPolicy::Provider
Parameter
Returns