1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ExternalAccessRule.Types.IpRange : IMessage<ExternalAccessRule.Types.IpRange>, IEquatable<ExternalAccessRule.Types.IpRange>, IDeepCloneable<ExternalAccessRule.Types.IpRange>, IBufferMessage, IMessage

Reference documentation and code samples for the VMware Engine v1 API class ExternalAccessRule.Types.IpRange.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ExternalAccessRule.Types.IpRange

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ExternalAccessRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.ExternalAccessRule.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.ExternalAccessRule.Types.md.txt)[IpRange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.ExternalAccessRule.Types.IpRange.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ExternalAccessRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.ExternalAccessRule.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.ExternalAccessRule.Types.md.txt)[IpRange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.ExternalAccessRule.Types.IpRange.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ExternalAccessRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.ExternalAccessRule.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.ExternalAccessRule.Types.md.txt)[IpRange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.ExternalAccessRule.Types.IpRange.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VmwareEngine.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.md.txt)

## Assembly

Google.Cloud.VmwareEngine.V1.dll

## Constructors

### IpRange()

    public IpRange()

### IpRange(IpRange)

    public IpRange(ExternalAccessRule.Types.IpRange other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ExternalAccessRuleTypesIpRange` |

## Properties

### ExternalAddress

    public string ExternalAddress { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ExternalAddressAsExternalAddressName

    public ExternalAddressName ExternalAddressAsExternalAddressName { get; set; }

[ExternalAddressName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.ExternalAddressName.md.txt)-typed view over the [ExternalAddress](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.ExternalAccessRule.Types.IpRange.md.txt#Google_Cloud_VmwareEngine_V1_ExternalAccessRule_Types_IpRange_ExternalAddress) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ExternalAddressName` |   |

### HasExternalAddress

    public bool HasExternalAddress { get; }

Gets whether the "external_address" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasIpAddress

    public bool HasIpAddress { get; }

Gets whether the "ip_address" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasIpAddressRange

    public bool HasIpAddressRange { get; }

Gets whether the "ip_address_range" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### IpAddress

    public string IpAddress { get; set; }

A single IP address. For example: `10.0.0.5`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### IpAddressRange

    public string IpAddressRange { get; set; }

An IP address range in the CIDR format. For example: `10.0.0.0/24`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### IpRangeCase

    public ExternalAccessRule.Types.IpRange.IpRangeOneofCase IpRangeCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ExternalAccessRuleTypesIpRangeIpRangeOneofCase` |   |