# Class IpRange (1.12.0)

1.12.0 (latest) 1.11.0 1.10.0 1.9.0 1.8.3 1.7.0 1.6.1 1.5.0 1.4.4 1.3.0 1.2.0 1.1.1 1.0.1 0.2.2 0.1.1

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

An IP range provided in any one of the supported formats.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `ip_address` | `str` A single IP address. For example: `10.0.0.5`. This field is a member of `oneof`_ `ip_range`. |
| `ip_address_range` | `str` An IP address range in the CIDR format. For example: `10.0.0.0/24`. This field is a member of `oneof`_ `ip_range`. |
| `external_address` | `str` The name of an `ExternalAddress` resource. The external address must have been reserved in the scope of this external access rule's parent network policy. Provide the external address name in the form of `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`. This field is a member of `oneof`_ `ip_range`. |