1.2.0 (latest) 1.1.0 1.0.0

    public sealed class DiscoveryEndpoint : IMessage<DiscoveryEndpoint>, IEquatable<DiscoveryEndpoint>, IDeepCloneable<DiscoveryEndpoint>, IBufferMessage, IMessage

Reference documentation and code samples for the Memorystore v1 API class DiscoveryEndpoint.

Represents an endpoint for clients to connect to the instance.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DiscoveryEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.DiscoveryEndpoint), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiscoveryEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.DiscoveryEndpoint), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DiscoveryEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.DiscoveryEndpoint), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.Memorystore.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1)

## Assembly

Google.Cloud.Memorystore.V1.dll

## Constructors

### DiscoveryEndpoint()

    public DiscoveryEndpoint()

### DiscoveryEndpoint(DiscoveryEndpoint)

    public DiscoveryEndpoint(DiscoveryEndpoint other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.DiscoveryEndpoint` |

## Properties

### Address

    public string Address { get; set; }

Output only. IP address of the exposed endpoint clients connect to.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Network

    public string Network { get; set; }

Output only. The network where the IP address of the discovery endpoint
will be reserved, in the form of
projects/{network_project}/global/networks/{network_name}.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### NetworkAsNetworkName

    public NetworkName NetworkAsNetworkName { get; set; }

[NetworkName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.NetworkName)-typed view over the [Network](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.DiscoveryEndpoint#Google_Cloud_Memorystore_V1_DiscoveryEndpoint_Network) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.NetworkName` |   |

### Port

    public int Port { get; set; }

Output only. The port number of the exposed endpoint.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |