- Docs
- Notifications
- Google Cloud Pub/Sub
Google Cloud Pub/Sub
Google Cloud Pub/Sub allows you to receive real time notifications through Google Cloud about file activity for potential follow-up actions. For more detail, see Google's documentation.
Managing Google Pub/Sub Notifications
All Site Administrators, as well as users with admin rights to at least one folder, can manage Google Pub/Sub notifications.
Site Administrators can manage all notifications. Other users can only manage the notifications that they have permission to manage.
Creating a Google Pub/Sub Notification
Before you can create the Google Cloud Pub/Sub notification in your Files.com site, you must first create a topic within Google Cloud Pub/Sub.
Define your new notification, for the desired folder in Files.com, and provide your Project ID, Topic ID and the Google Credentials JSON Key for a user who has permission to publish to the topic.
You can use the Limit to a specific folder setting to only trigger the notification when actions happen in certain folders. Your site does not monitor actions on remote servers. Activity that takes place on a Remote Server Mount will not trigger a notification, even if that mounted folder is within the folder you chose. If you require a notification for files being uploaded to a mounted folder, use a Remote Server Sync to pull files from the mount into a non-mounted folder instead.
By default, notifications will trigger for any file or folder action (create
, read
, update
, delete
, move
, or copy
) within the configured folder. You can limit which actions will trigger notifications by choosing the Only trigger on specific actions option, and selecting the specific actions you would like.