gcloud pubsub schemas Stay organized with collections Save and categorize content based on your preferences.
- 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 helpfor details. - COMMANDS
is one of the following:COMMANDcommit- 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:
gcloudalphapubsubschemasgcloudbetapubsubschemas
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.