PublishOptions
Options for publishing a protobuf event as a CloudEvent.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”
optionalid?:string
CloudEvent id. Defaults to a generated UUID.
metadata?
Section titled “metadata?”
optionalmetadata?:Record<string,CloudEventMetadataValue>
Additional CloudEvent extension attributes.
notBefore?
Section titled “notBefore?”
optionalnotBefore?:Timestamp
Durable one-shot delayed delivery deadline.
Production transports must persist the delay before accepting the publish and must not deliver before this timestamp.
source?
Section titled “source?”
optionalsource?:string
CloudEvent source for this publish call. Overrides publisher and transport defaults.
optionaltime?:string|Date
CloudEvent time. Defaults to the current time.
topic?
Section titled “topic?”
optionaltopic?:string
Transport delivery topic. Overrides publisher topic defaults for this call only.
optionaltype?:string
Semantic CloudEvent type. Defaults to the fully qualified protobuf method name.