1.2.0 (latest) 1.1.0 1.0.0

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

Reference documentation and code samples for the API hub v1 API class ExternalApi.

An external API represents an API being provided by external sources. This
can be used to model third-party APIs and can be used to define dependencies.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.ApiHub.V1.dll

## Constructors

### ExternalApi()

    public ExternalApi()

### ExternalApi(ExternalApi)

    public ExternalApi(ExternalApi other)

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

## Properties

### Attributes

    public MapField<string, AttributeValues> Attributes { get; }

Optional. The list of user defined attributes associated with the Version
resource. The key is the attribute name. It will be of the format:
`projects/{project}/locations/{location}/attributes/{attribute}`.
The value is the attribute values associated with the resource.

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

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. Creation timestamp.

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

### Description

    public string Description { get; set; }

Optional. Description of the external API. Max length is 2000 characters
(Unicode Code Points).

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

### DisplayName

    public string DisplayName { get; set; }

Required. Display name of the external API. Max length is 63 characters
(Unicode Code Points).

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

### Documentation

    public Documentation Documentation { get; set; }

Optional. Documentation of the external API.

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

### Endpoints

    public RepeatedField<string> Endpoints { get; }

Optional. List of endpoints on which this API is accessible.

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

### ExternalApiName

    public ExternalApiName ExternalApiName { get; set; }

[ExternalApiName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ExternalApiName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ExternalApi.md.txt#Google_Cloud_ApiHub_V1_ExternalApi_Name) resource name property.

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

### Name

    public string Name { get; set; }

Identifier. Format:
`projects/{project}/locations/{location}/externalApi/{externalApi}`.

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

### Paths

    public RepeatedField<string> Paths { get; }

Optional. List of paths served by this API.

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. Last update timestamp.

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