REST Resource: projects.locations.curations Stay organized with collections Save and categorize content based on your preferences.
- Resource: Curation
- Endpoint
- ApplicationIntegrationEndpointDetails
- PluginInstanceActionID
- LastExecutionState
- ErrorCode
- Methods
Resource: Curation
A curation resource in the API Hub.
| JSON representation |
|---|
{"name":string,"displayName":string,"description":string,"endpoint":{object ( |
| Fields | |
|---|---|
name |
Identifier. The name of the curation. Format: |
displayName |
Required. The display name of the curation. |
description |
Optional. The description of the curation. |
endpoint |
Required. The endpoint to be triggered for curation. |
pluginInstanceActions[] |
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. |
lastExecutionState |
Output only. The last execution state of the curation. |
lastExecutionErrorCode |
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. |
lastExecutionErrorMessage |
Output only. Error message describing the failure, if any, during the last execution of the curation. |
createTime |
Output only. The time at which the curation was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time at which the curation was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Endpoint
The endpoint to be triggered for curation. The endpoint will be invoked with a request payload containing [ApiMetadata][google.cloud.apihub.v1.ApiHub.ApiMetadata]. Response should contain curated data in the form of [ApiMetadata][google.cloud.apihub.v1.ApiHub.ApiMetadata].
| JSON representation |
|---|
{// Union field |
| Fields | |
|---|---|
Union fieldendpoint_details. The details of the endpoint to be triggered for curation.endpoint_details can be only one of the following: | |
applicationIntegrationEndpointDetails |
Required. The details of the Application Integration endpoint to be triggered for curation. |
ApplicationIntegrationEndpointDetails
The details of the Application Integration endpoint to be triggered for curation.
| JSON representation |
|---|
{"uri":string,"triggerId":string} |
| Fields | |
|---|---|
uri |
Required. The endpoint URI should be a valid REST URI for triggering an Application Integration. Format: |
triggerId |
Required. The API trigger ID of the Application Integration workflow. |
PluginInstanceActionID
The plugin instance and associated action that is using the curation.
| JSON representation |
|---|
{"pluginInstance":string,"actionId":string} |
| Fields | |
|---|---|
pluginInstance |
Output only. Plugin instance that is using the curation. Format is |
actionId |
Output only. The action ID that is using the curation. This should map to one of the action IDs specified in action configs in the plugin. |
LastExecutionState
The state of the last execution of the curation.
| Enums | |
|---|---|
LAST_EXECUTION_STATE_UNSPECIFIED | Default unspecified state. |
SUCCEEDED | The last curation execution was successful. |
FAILED | The last curation execution failed. |
ErrorCode
The error codes for failed executions.
| Enums | |
|---|---|
ERROR_CODE_UNSPECIFIED | Default unspecified error code. |
INTERNAL_ERROR | The execution failed due to an internal error. |
UNAUTHORIZED | The curation is not authorized to trigger the endpoint uri. |
Methods | |
|---|---|
| Create a curation resource in the API hub. |
| Delete a curation resource in the API hub. |
| Get curation resource details. |
| List curation resources in the API hub. |
| Update a curation resource in the API hub. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-11 UTC.