1.4.0 (latest) 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the App Hub v1 API class DiscoveredService.

DiscoveredService is a network or API interface that exposes some
functionality to clients for consumption over the network. A discovered
service can be registered to a App Hub service.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DiscoveredService](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DiscoveredService.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiscoveredService](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DiscoveredService.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DiscoveredService](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DiscoveredService.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.AppHub.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.md.txt)

## Assembly

Google.Cloud.AppHub.V1.dll

## Constructors

### DiscoveredService()

    public DiscoveredService()

### DiscoveredService(DiscoveredService)

    public DiscoveredService(DiscoveredService other)

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

## Properties

### DiscoveredServiceName

    public DiscoveredServiceName DiscoveredServiceName { get; set; }

[DiscoveredServiceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DiscoveredServiceName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DiscoveredService.md.txt#Google_Cloud_AppHub_V1_DiscoveredService_Name) resource name property.

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

### Name

    public string Name { get; set; }

Identifier. The resource name of the discovered service. Format:
`"projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}"`

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

### ServiceProperties

    public ServiceProperties ServiceProperties { get; set; }

Output only. Properties of an underlying compute resource that can comprise
a Service. These are immutable.

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

### ServiceReference

    public ServiceReference ServiceReference { get; set; }

Output only. Reference to an underlying networking resource that can
comprise a Service. These are immutable.

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