PublishOptions
Defined in: packages/pubsub/src/types.ts:27
Options for publishing a protobuf event as a CloudEvent.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”
optionalid?:string
Defined in: packages/pubsub/src/types.ts:35
CloudEvent id. Defaults to a generated UUID.
metadata?
Section titled “metadata?”
optionalmetadata?:Record<string,CloudEventMetadataValue>
Defined in: packages/pubsub/src/types.ts:39
Additional CloudEvent extension attributes.
notBefore?
Section titled “notBefore?”
optionalnotBefore?:Timestamp
Defined in: packages/pubsub/src/types.ts:48
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
Defined in: packages/pubsub/src/types.ts:33
CloudEvent source for this publish call. Overrides publisher and transport defaults.
optionaltime?:string|Date
Defined in: packages/pubsub/src/types.ts:37
CloudEvent time. Defaults to the current time.
topic?
Section titled “topic?”
optionaltopic?:string
Defined in: packages/pubsub/src/types.ts:29
Transport delivery topic. Overrides publisher topic defaults for this call only.
optionaltype?:string
Defined in: packages/pubsub/src/types.ts:31
Semantic CloudEvent type. Defaults to the fully qualified protobuf method name.