在 Pub/Sub 发布订阅中发布的接口。
签名:
export interface MessagePublishedData<T = any>
特性
财产 | 类型 | 描述 |
---|---|---|
信息 | 信息<T> | Google Cloud Pub/Sub 消息。 |
订阅 | 细绳 | 订阅资源。 |
pubsub.MessagePublishedData.message
Google Cloud Pub/Sub 消息。
签名:
readonly message: Message<T>;
pubsub.MessagePublishedData.subscription
订阅资源。
签名:
readonly subscription: string;