async function getStaleReservations(prefix) {
  const projectId = await reservationsClient.getProjectId();
  const result = [];
  const currentDate = new Date();
  currentDate.setHours(currentDate.getHours() - 1);

  const aggListRequest = reservationsClient.aggregatedListAsync({
    project: projectId,
  });

  for await (const [zone, reservationsObject] of aggListRequest) {
    const reservations = reservationsObject.reservations;
    result.push(
      ...reservations
        .filter(
          reservation =>
            new Date(reservation.creationTimestamp) < currentDate &&
            reservation.name.startsWith(prefix)
        )
        .map(reservation => {
          return {
            zone: zone.split('zones/')[1],
            reservationName: reservation.name,
            timestamp: reservation.creationTimestamp,
          };
        })
    );
  }

  return result;
}
Get reservations created more than one hour ago.