1.2.0 (latest) 1.1.0 1.0.0

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

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

A curation resource in the API Hub.

## Inheritance

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

## Implements

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

### Curation()

    public Curation()

### Curation(Curation)

    public Curation(Curation other)

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

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time at which the curation was created.

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

### CurationName

    public CurationName CurationName { get; set; }

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

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

### Description

    public string Description { get; set; }

Optional. The description of the curation.

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

### DisplayName

    public string DisplayName { get; set; }

Required. The display name of the curation.

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

### Endpoint

    public Endpoint Endpoint { get; set; }

Required. The endpoint to be triggered for curation.

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

### LastExecutionErrorCode

    public Curation.Types.ErrorCode LastExecutionErrorCode { get; set; }

Output only. The error code of the last execution of the curation. The
error code is populated only when the last execution state is failed.

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

### LastExecutionErrorMessage

    public string LastExecutionErrorMessage { get; set; }

Output only. Error message describing the failure, if any, during the last
execution of the curation.

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

### LastExecutionState

    public Curation.Types.LastExecutionState LastExecutionState { get; set; }

Output only. The last execution state of the curation.

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

### Name

    public string Name { get; set; }

Identifier. The name of the curation.

Format:
`projects/{project}/locations/{location}/curations/{curation}`

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

### PluginInstanceActions

    public RepeatedField<Curation.Types.PluginInstanceActionID> PluginInstanceActions { get; }

Output only. The plugin instances and associated actions that are using the
curation. Note: A particular curation could be used by multiple plugin
instances or multiple actions in a plugin instance.

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The time at which the curation was last updated.

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