Class NetworkPolicy (2.40.0)

NetworkPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
provider google.cloud.container_v1beta1.types.NetworkPolicy.Provider
The selected network policy provider.
enabled bool
Whether network policy is enabled on the cluster.

Classes

Provider

Provider(value)

Allowed Network Policy providers.

Values: PROVIDER_UNSPECIFIED (0): Not set CALICO (1): Tigera (Calico Felix).