Class IpRange (1.4.2)

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

NameDescription
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.