gcloud apihub curations create

NAME
gcloud apihub curations create - create a Curation
SYNOPSIS
gcloud apihub curations create (CURATION : --location=LOCATION) --display-name=DISPLAY_NAME ((--application-integration-endpoint-details-trigger-id=APPLICATION_INTEGRATION_ENDPOINT_DETAILS_TRIGGER_ID --application-integration-endpoint-details-uri=APPLICATION_INTEGRATION_ENDPOINT_DETAILS_URI)) [--description=DESCRIPTION] [GCLOUD_WIDE_FLAG]
DESCRIPTION
Create a curation

Note: The positional argument for Curation ID is currently not supported. Please use the --curation flag to specify the Curation ID.

EXAMPLES
To create a curation with the ID my-curation, run:
gcloud apihub curations create --curation=my-curation --display-name="My Curation" --project=my-project --location=us-central1
POSITIONAL ARGUMENTS
Curation resource - Identifier. The name of the curation.

Format: projects/{project}/locations/{location}/curations/{curation} The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument curation on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project.

This must be specified.

CURATION
ID of the curation or fully qualified identifier for the curation.

To set the curation attribute:

  • provide the argument curation on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--location=LOCATION
The location id of the curation resource.

To set the location attribute:

  • provide the argument curation on the command line with a fully specified name;
  • provide the argument --location on the command line.
REQUIRED FLAGS
--display-name=DISPLAY_NAME
The display name of the curation.
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].

This must be specified.

Arguments for the endpoint details.
The details of the Application Integration endpoint to be triggered for curation.

This must be specified.

--application-integration-endpoint-details-trigger-id=APPLICATION_INTEGRATION_ENDPOINT_DETAILS_TRIGGER_ID
The API trigger ID of the Application Integration workflow.

This flag argument must be specified if any of the other arguments in this group are specified.

--application-integration-endpoint-details-uri=APPLICATION_INTEGRATION_ENDPOINT_DETAILS_URI
The endpoint URI should be a valid REST URI for triggering an Application Integration. Format: https://integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*}:execute or https://{location}-integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*}:execute

This flag argument must be specified if any of the other arguments in this group are specified.

OPTIONAL FLAGS
--description=DESCRIPTION
The description of the curation.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

API REFERENCE
This command uses the apihub/v1 API. The full documentation for this API can be found at: https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub
NOTES
This variant is also available:
gcloud alpha apihub curations create