BuildCloudEventOptions
Defined in: packages/pubsub/src/cloudevents.ts:34
Fully-resolved options required to materialize a CloudEvent.
Extends
Section titled “Extends”Properties
Section titled “Properties”
optionalid?:string
Defined in: packages/pubsub/src/types.ts:35
CloudEvent id. Defaults to a generated UUID.
Inherited from
Section titled “Inherited from”metadata?
Section titled “metadata?”
optionalmetadata?:Record<string,CloudEventMetadataValue>
Defined in: packages/pubsub/src/types.ts:39
Additional CloudEvent extension attributes.
Inherited from
Section titled “Inherited from”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.
Inherited from
Section titled “Inherited from”source
Section titled “source”source:
string
Defined in: packages/pubsub/src/cloudevents.ts:36
Resolved CloudEvent source.
Overrides
Section titled “Overrides”
optionaltime?:string|Date
Defined in: packages/pubsub/src/types.ts:37
CloudEvent time. Defaults to the current time.
Inherited from
Section titled “Inherited from”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.
Inherited from
Section titled “Inherited from”type:
string
Defined in: packages/pubsub/src/cloudevents.ts:38
Resolved CloudEvent type.