@property<EOL><INDENT>def ingress(self):<DEDENT>
return self._ingress<EOL>
Gets the ingress of this V1NetworkPolicySpec.
List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)

:return: The ingress of this V1NetworkPolicySpec.
:rtype: list[V1NetworkPolicyIngressRule]