Pub/Sub Schema

Pub/Sub Schema in Google Cloud defines the structure of messages published to and received from Pub/Sub topics. It ensures data consistency by enforcing a specific format, such as Avro or Protocol Buffers, for message payloads. Schemas help validate messages before publishing, reducing errors and improving data quality across systems.

gcp.pubsub_schema

Fields

TitleIDTypeData TypeDescription
_keycorestring
ancestorscorearray<string>
datadog_display_namecorestring
definitioncorestringThe definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in `type`.
labelscorearray<string>
namecorestringRequired. Name of the schema. Format is `projects/{project}/schemas/{schema}`.
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
region_idcorestring
resource_namecorestring
revision_create_timecoretimestampOutput only. The timestamp that the revision was created.
revision_idcorestringOutput only. Immutable. The revision ID of the schema.
tagscorehstore_csv
typecorestringThe type of the schema definition.
zone_idcorestring