Skip to content

Google Cloud Pub/Sub channel binding

Contains information about the channel representation in Google Cloud Pub/Sub.

Structure

copy
{
$schema:"http://json-schema.org/draft-07/schema#"
$id:"http://asyncapi.com/bindings/googlepubsub/0.1.0/channel.json"
title:"Cloud Pub/Sub Channel Schema"
description:"This object contains information about the channel representation for Google Cloud Pub/Sub."
type:"object"
additionalProperties:false
patternProperties:{...}
properties:{...}
required:[...]
examples:[...]
}

Examples

json
{
    "labels": {
        "label1": "value1",
        "label2": "value2"
    },
    "messageRetentionDuration": "86400s",
    "messageStoragePolicy": {
        "allowedPersistenceRegions": [
            "us-central1",
            "us-east1"
        ]
    },
    "schemaSettings": {
        "encoding": "json",
        "name": "projects/your-project-id/schemas/your-schema"
    }
}

Changelog

Good news, nothing was changed