Class Google::Cloud::Container::V1::NetworkPolicy (v0.7.3)

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::V1::NetworkPolicy::Provider
Returns

#provider=

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