1.2.0 (latest) 1.1.0 1.0.0

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

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

ApiHubResource is one of the resources such as Api, Operation, Deployment,
Definition, Spec and Version resources stored in API-Hub.

## Inheritance

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

## Implements

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

### ApiHubResource()

    public ApiHubResource()

### ApiHubResource(ApiHubResource)

    public ApiHubResource(ApiHubResource other)

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

## Properties

### Api

    public Api Api { get; set; }

This represents Api resource in search results. Only name, display_name,
description and owner fields are populated in search results.

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

### Definition

    public Definition Definition { get; set; }

This represents Definition resource in search results.
Only name field is populated in search results.

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

### Deployment

    public Deployment Deployment { get; set; }

This represents Deployment resource in search results. Only name,
display_name, description, deployment_type and api_versions fields are
populated in search results.

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

### Operation

    public ApiOperation Operation { get; set; }

This represents ApiOperation resource in search results. Only name,
description, spec and details fields are populated in search results.

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

### ResourceCase

    public ApiHubResource.ResourceOneofCase ResourceCase { get; }

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

### Spec

    public Spec Spec { get; set; }

This represents Spec resource in search results. Only name,
display_name, description, spec_type and documentation fields are
populated in search results.

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

### Version

    public Version Version { get; set; }

This represents Version resource in search results. Only name,
display_name, description, lifecycle, compliance and accreditation fields
are populated in search results.

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