@ip_block.setter<EOL><INDENT>def ip_block(self, ip_block):<DEDENT>
self._ip_block = ip_block<EOL>
Sets the ip_block of this V1NetworkPolicyPeer.
IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.

:param ip_block: The ip_block of this V1NetworkPolicyPeer.
:type: V1IPBlock