syntax = "proto3";

package igdb_game;

option go_package = "igdb_game";

import "eventbus/owner.proto";
import "google/protobuf/timestamp.proto";

// IgdbGameDelete triggers when a game is no longer visible on the IGDB API.
//
// Game and API information can be found at https://www.igdb.com
// NOTE that games are not deleted on IGDB master DB so could be marked as
// create after a delete event has been published if a game is "undeleted".
message IgdbGameDelete {
  option (eventbus.owner.ldap_group) = "team-igdb";
  // The IGDB Game ID
  string game_id = 1;
  // The timestamp of the database write that triggered this event
  google.protobuf.Timestamp modified_at = 2;
}
