gcloud pubsub schemas

NAME
gcloud pubsub schemas - manage Pub/Sub schemas
SYNOPSIS
gcloud pubsub schemasCOMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
The gcloud pubsub schemas group lets you create and manage Pub/Sub schemas.These schemas can be attached to topics to enable validation of publishedmessages. Commands to validate schemas and messages against schemas are alsoavailable.
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
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.
NOTES
These variants are also available:
gcloudalphapubsubschemas
gcloudbetapubsubschemas

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-05-07 UTC.