1.2.0 (latest) 1.1.0 1.0.3 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::Curation.

A curation resource in the API Hub.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time at which the curation was created.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Optional. The description of the curation.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The description of the curation.
**Returns**

- (::String) --- Optional. The description of the curation.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Required. The display name of the curation.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The display name of the curation.
**Returns**

- (::String) --- Required. The display name of the curation.

### #endpoint

    def endpoint() -> ::Google::Cloud::ApiHub::V1::Endpoint

**Returns**

- ([::Google::Cloud::ApiHub::V1::Endpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-Endpoint)) --- Required. The endpoint to be triggered for curation.

### #endpoint=

    def endpoint=(value) -> ::Google::Cloud::ApiHub::V1::Endpoint

**Parameter**

- **value** ([::Google::Cloud::ApiHub::V1::Endpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-Endpoint)) --- Required. The endpoint to be triggered for curation.
**Returns**

- ([::Google::Cloud::ApiHub::V1::Endpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-Endpoint)) --- Required. The endpoint to be triggered for curation.

### #last_execution_error_code

    def last_execution_error_code() -> ::Google::Cloud::ApiHub::V1::Curation::ErrorCode

**Returns**

- ([::Google::Cloud::ApiHub::V1::Curation::ErrorCode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-Curation-ErrorCode)) --- 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.

### #last_execution_error_message

    def last_execution_error_message() -> ::String

**Returns**

- (::String) --- Output only. Error message describing the failure, if any, during the last execution of the curation.

### #last_execution_state

    def last_execution_state() -> ::Google::Cloud::ApiHub::V1::Curation::LastExecutionState

**Returns**

- ([::Google::Cloud::ApiHub::V1::Curation::LastExecutionState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-Curation-LastExecutionState)) --- Output only. The last execution state of the curation.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The name of the curation.

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

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The name of the curation.


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

- (::String) --- Identifier. The name of the curation.

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

### #plugin_instance_actions

    def plugin_instance_actions() -> ::Array<::Google::Cloud::ApiHub::V1::Curation::PluginInstanceActionID>

**Returns**

- (::Array\<[::Google::Cloud::ApiHub::V1::Curation::PluginInstanceActionID](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-Curation-PluginInstanceActionID)\>) --- 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.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time at which the curation was last updated.