@property<EOL><INDENT>def read_only(self):<DEDENT>
return self._read_only<EOL>
Gets the read_only of this ExtensionsV1beta1AllowedHostPath.
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.

:return: The read_only of this ExtensionsV1beta1AllowedHostPath.
:rtype: bool