Is it possible to trigger an event when dataset link to standard OOB billing export changes?

Is it possible to trigger a user defined event or does Google emit an event to pub/sub when the dataset linked to standard billing export is updated / modified?

Solved Solved
3 3 118
1 ACCEPTED SOLUTION

Hello @dheerajpanyam,

Google Cloud does not natively publish Pub/Sub events for billing export dataset updates, but you may build custom monitoring. The most robust approaches use Cloud Logging routed to Pub/Sub (filtering BigQuery job completions) or scheduled metadata checks via Cloud Scheduler/Workflows. While standard exports refresh daily, near-real-time tracking requires these workarounds. For implementation, prioritize Logs Router for managed simplicity or Eventarc for serverless triggers.

Key Options:

  • Logs Router → Filter jobservice.jobcompleted
  • Scheduled queries → Monitor INFORMATION_SCHEMA
  • Eventarc → Watch storage notifications (if using export files)

Note: Native event support is unavailable; all solutions require proactive setup.

Best regards,

Suwarna

View solution in original post

3 REPLIES 3

Hi, @dheerajpanyam.

From my understanding, this isn't possible in GCP. However, you can implement similar patterns to achieve the desired result - Examples of automated cost control responses.

Regards,
Mokit

Hello @dheerajpanyam,

Google Cloud does not natively publish Pub/Sub events for billing export dataset updates, but you may build custom monitoring. The most robust approaches use Cloud Logging routed to Pub/Sub (filtering BigQuery job completions) or scheduled metadata checks via Cloud Scheduler/Workflows. While standard exports refresh daily, near-real-time tracking requires these workarounds. For implementation, prioritize Logs Router for managed simplicity or Eventarc for serverless triggers.

Key Options:

  • Logs Router → Filter jobservice.jobcompleted
  • Scheduled queries → Monitor INFORMATION_SCHEMA
  • Eventarc → Watch storage notifications (if using export files)

Note: Native event support is unavailable; all solutions require proactive setup.

Best regards,

Suwarna

Thanks @SuwarnaKale 

Top Solution Authors