- NAME
-
- gcloud beta pubsub schemas - manage Pub/Sub schemas
- SYNOPSIS
-
-
gcloud beta pubsub schemasCOMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)The gcloud beta 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. - GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMAND-
commit -
(BETA)Commit a Pub/Sub schema revision. -
create -
(BETA)Create a Pub/Sub schema. -
delete -
(BETA)Delete a Pub/Sub schema. -
delete-revision -
(BETA)Delete a Pub/Sub schema revision. -
describe -
(BETA)Show details of a Pub/Sub schema. -
list -
(BETA)List Pub/Sub schemas. -
list-revisions -
(BETA)List revisions of a Pub/Sub schema. -
rollback -
(BETA)Roll back a Pub/Sub schema to a specified revision. -
(BETA)Validate a message against a Pub/Sub schema. -
validate-schema -
(BETA)Validate a Pub/Sub schema.
-
- NOTES
- This command is currently in beta and might change without notice. These
variants are also available:
gcloud pubsub schemasgcloud alpha pubsub schemas
gcloud beta pubsub schemas
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

