gcloud pubsub schemas - manage Pub/Sub schemas
gcloud pubsub schemas COMMAND [GCLOUD_WIDE_FLAG ...]
The gcloud pubsub schemas group lets you create and manage Pub/Sub schemas. These schemas can be attached to topics to enable validation of published messages. Commands to validate schemas and messages against schemas are also available.
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- commit
Commit a Pub/Sub schema revision.
- create
Create a Pub/Sub schema.
- delete
Delete a Pub/Sub schema.
- delete-revision
Delete a Pub/Sub schema revision.
- describe
Show details of a Pub/Sub schema.
- list
List Pub/Sub schemas.
- list-revisions
List revisions of a Pub/Sub schema.
- rollback
Roll back a Pub/Sub schema to a specified revision.
- validate-message
Validate a message against a Pub/Sub schema.
- validate-schema
Validate a Pub/Sub schema.
These variants are also available:
$ gcloud alpha pubsub schemas
$ gcloud beta pubsub schemas