go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/swarming/internal/notifications/notifications.proto (about)

     1  syntax = "proto3";
     2  
     3  package devtools.foundry.api.notifications;
     4  
     5  option go_package = "go.chromium.org/luci/swarming/internal/notifications";
     6  
     7  // Wire proto defining the payload of a Cloud PubSub notification, which is sent
     8  // by RBE when the `scheduler_notification_config` is populated for an instance
     9  // and the corresponding RBE event occurs.
    10  message SchedulerNotification {
    11    // Exactly one of these IDs will be populated, depending on whether the
    12    // notification is for a completed action or reservation.
    13    string action_id = 1;
    14    string reservation_id = 2;
    15  
    16    // Status code for the received event.
    17    int32 status_code = 3;
    18  }