1.2.0 (latest) 1.1.0 1.0.0

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

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

An ApiHubInstance represents the instance resources of the API Hub.
Currently, only one ApiHub instance is allowed for each project.

## Inheritance

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

## Implements

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

### ApiHubInstance()

    public ApiHubInstance()

### ApiHubInstance(ApiHubInstance)

    public ApiHubInstance(ApiHubInstance other)

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

## Properties

### ApiHubInstanceName

    public ApiHubInstanceName ApiHubInstanceName { get; set; }

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

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

### Config

    public ApiHubInstance.Types.Config Config { get; set; }

Required. Config of the ApiHub instance.

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

### 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 ApiHub instance.

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

### Labels

    public MapField<string, string> Labels { get; }

Optional. Instance labels to represent user-provided metadata.
Refer to cloud documentation on labels for more details.
<https://cloud.google.com/compute/docs/labeling-resources>

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

### Name

    public string Name { get; set; }

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

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

### State

    public ApiHubInstance.Types.State State { get; set; }

Output only. The current state of the ApiHub instance.

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

### StateMessage

    public string StateMessage { get; set; }

Output only. Extra information about ApiHub instance state. Currently the
message would be populated when state is `FAILED`.

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. Last update timestamp.

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