gcloud beta apigee products - manage Apigee API products
gcloud beta apigee products COMMAND [GCLOUD_WIDE_FLAG ...]
(BETA) Manage Apigee API products.
gcloud beta apigee products manipulates API products. These are collections of deployed API resources, combined with quota settings and metadata, used to deliver customized and productized API bundles to the developer community.
To list all API products in the active Cloud Platform project, run:
$ gcloud beta apigee products list
To create an API product named my-apis by answering interactive prompts about its included proxies and access policies, run:
$ gcloud beta apigee products create my-apis
To create an API product named prod-apis that makes every API proxy deployed to the prod environment publicly available, run:
$ gcloud beta apigee products create prod-apis --environments=prod \ --all-proxies --public-access
To get a JSON object describing an existing API product, run:
$ gcloud beta apigee products describe PRODUCT_NAME \ --organization=ORG_NAME --format=json
To add another API proxy to an existing API product, run:
$ gcloud beta apigee products update PRODUCT_NAME --add-api=API_NAME
To edit the publicly visible name and description of an API product, run:
$ gcloud beta apigee products update PRODUCT_NAME \ --display-name="New Name" \ --description="A new description of this product."
To make an existing product publicly visible and automatically allow developers access to it, run:
$ gcloud beta apigee products update PRODUCT_NAME --public-access \ --automatic-approval
To delete an existing API product, run:
$ gcloud beta apigee products delete PRODUCT_NAME
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- create
(BETA) Create an Apigee API product.
- delete
(BETA) Delete an Apigee API product.
- describe
(BETA) Describe an Apigee API product.
- list
(BETA) List Apigee API products.
- update
(BETA) Update an existing Apigee API product.
This command is currently in beta and might change without notice. These variants are also available:
$ gcloud apigee products
$ gcloud alpha apigee products